public function testMapFieldWithoutNameThrowsException(ClassMetadata $cm) { $cm->mapField(array()); }