class ProductStreamAdminSearchIndexerTest extends TestCase
{ private ProductStreamAdminSearchIndexer
$searchIndexer;
protected function setUp(): void
{ $this->searchIndexer =
new ProductStreamAdminSearchIndexer( $this->
createMock(Connection::
class),
$this->
createMock(IteratorFactory::
class),
$this->
createMock(EntityRepository::
class),
100
);
} public function testGetEntity(): void
{ static::
assertSame(ProductStreamDefinition::ENTITY_NAME,
$this->searchIndexer->
getEntity());
}