public function hasValue() { return $this->hasValue; }
public function testSetAndGetValue() { $ir = new InformationRequest('foo', array('type' => 'text')); $this->assertFalse($ir->hasValue()); $ir->setValue('bar'); $this->assertTrue($ir->hasValue()); $this->assertEquals('bar', $ir->getValue()); }