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