gossi\codegen\tests\model\PropertyTest::testValueAndExpression PHP 메소드

testValueAndExpression() 공개 메소드

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