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