gossi\codegen\tests\model\PropertyTest::testValueAndExpression PHP Method

testValueAndExpression() public method

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