public function testValueAndExpression() { $prop = new PhpProperty('needsName'); $prop->setValue('abc'); $prop->setExpression('null'); $this->assertTrue($prop->hasValue()); $this->assertTrue($prop->isExpression()); }