PopTest\Code\PropertyTest::testGetNameAndValue PHP Method

testGetNameAndValue() public method

public testGetNameAndValue ( )
    public function testGetNameAndValue()
    {
        $p = PropertyGenerator::factory('testProp', 'string', 123);
        $p->setValue(456);
        $this->assertEquals(456, $p->getValue());
    }