Pheasant\Tests\TypeMarshallingTest::testStringAllowedValues PHP 메소드

testStringAllowedValues() 공개 메소드

    public function testStringAllowedValues()
    {
        $object = new DomainObject(array('camelidvariant' => 'llama'));
        $object->save();
        $llamaById = DomainObject::byId(1);
        $this->assertSame($llamaById->camelidvariant, 'llama');
    }