public function testSetGetValue()
{
$prop = new PhpProperty('needsName');
$this->assertNull($prop->getValue());
$this->assertFalse($prop->hasValue());
$this->assertSame($prop, $prop->setValue('foo'));
$this->assertEquals('foo', $prop->getValue());
$this->assertTrue($prop->hasValue());
$this->assertSame($prop, $prop->unsetValue());
$this->assertNull($prop->getValue());
$this->assertFalse($prop->hasValue());
}