public function testGenerateConfigurationWithObjectDefinitionsEmpty()
 {
     $this->setExpectedException('\\RuntimeException', 'No entity available for generation.');
     $em = $this->getEntityManagerMock();
     $twig = $this->getTwigMock();
     $classNameToNgAdminConfigurationTransformer = $this->getClassNameToNgAdminConfigurationTransformerMock();
     $ngAdminWithRelationshipsTransformer = $this->getNgAdminWithRelationshipsTransformerMock();
     $entityToEntityWithIconTransformer = $this->getEntityToEntityWithIconTransformerMock();
     $transformers = array($classNameToNgAdminConfigurationTransformer, $ngAdminWithRelationshipsTransformer, $entityToEntityWithIconTransformer);
     $configurationGenerator = new ConfigurationGenerator($transformers, $this->getEntityManagerMock(), $this->getTwigMock());
     $configurationGenerator->generateConfiguration($this->objectDefinitions);
 }