function testHasField()
 {
     $this->assertEquals(true, $this->metadata->hasField('field'));
     $this->assertEquals(false, $this->metadata->hasField('OMNOMNOMNOMN'));
 }