public function itShouldIdentifyIdentifiers()
{
$class = new ClassMetadataInfo('Doctrine\\Tests\\OXM\\Mapping\\Entity');
$class->mapField(array('fieldName' => 'squibble', 'type' => 'string', 'id' => true));
$this->assertEquals('squibble', $class->identifier);
$this->assertEquals('squibble', $class->getIdentifier());
$this->assertTrue($class->isIdentifier('squibble'));
$this->assertFalse($class->isIdentifier('not_squibble'));
}