public function getProperty($propertyName) { if (!$this->hasData('id')) { return false; } return PropertyModel::fromIdentifier($propertyName, $this->getId()); }
/** * Test * * @return void */ public function testGetProperty() { $this->assertFalse($this->object->getProperty('fakeproperty')); }