Doctrine\Tests\OXM\Mapping\AbstractMappingDriverTest::testFieldMappingsCustomSetsAndGets PHP 메소드

testFieldMappingsCustomSetsAndGets() 공개 메소드

public testFieldMappingsCustomSetsAndGets ( ClassMetadata $class )
$class Doctrine\OXM\Mapping\ClassMetadata
    public function testFieldMappingsCustomSetsAndGets($class)
    {
        $this->assertEquals('setUsername', $class->fieldMappings['name']['setMethod']);
        $this->assertEquals('getUsername', $class->fieldMappings['name']['getMethod']);
        return $class;
    }