public function testHasEntityRepository()
 {
     $repository = $this->getMock('Oro\\Bundle\\ImportExportBundle\\TemplateFixture\\TemplateEntityRepositoryInterface');
     $repository->expects($this->once())->method('getEntityClass')->will($this->returnValue('Test\\Entity'));
     $this->templateManager->addEntityRepository($repository);
     $this->assertFalse($this->templateManager->hasEntityRepository('unknown'));
     $this->assertTrue($this->templateManager->hasEntityRepository('Test\\Entity'));
 }