You are here

protected function AssetCollectorTest::getInfoParserMock in Entity Print 8.2

Gets an Info parser mock.

File

tests/src/Unit/AssetCollectorTest.php, line 58

Class

AssetCollectorTest
Test the asset collector service.

Namespace

Drupal\Tests\entity_print\Unit

Code

protected function getInfoParserMock() {
  $info_parser = $this
    ->prophesize(InfoParserInterface::class);
  $info_parser
    ->parse('info_file_path')
    ->willReturn([]);
  return $info_parser;
}