public function testLoadMetadata_NoDelegatorFound_ThrowsMappingException()
 {
     $className = 'Doctrine\\Tests\\Common\\Persistence\\Mapping\\DriverChainEntity';
     $classMetadata = $this->getMock('Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata');
     $chain = new MappingDriverChain();
     $this->setExpectedException('Doctrine\\Common\\Persistence\\Mapping\\MappingException');
     $chain->loadMetadataForClass($className, $classMetadata);
 }