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