public function getValue() { if (empty($this->value)) { $this->loadValue(); } return $this->value->getValue(); }
/** * Test * * @return void */ public function testGetValue() { $this->assertEquals('', $this->object->getValue()); $this->object->setValue('string'); $this->assertEquals('string', $this->object->getValue()); }