public static function get_instance() { if (self::$property == NULL) { self::$property = new Property(); } return self::$property; }
public function testPropertyFluency() { $property = new Property($this->getMockQuery(true)); $newField = $property->property('bob'); $this->assertTrue($newField instanceof Property); }