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