SimpleTest::testMapSimpleHyphen PHP Method

testMapSimpleHyphen() public method

Variable with hyphen (-)
public testMapSimpleHyphen ( )
    public function testMapSimpleHyphen()
    {
        $jm = new JsonMapper();
        $sn = $jm->map(json_decode('{"hyphen-value":"test"}'), new JsonMapperTest_Simple());
        $this->assertInternalType('string', $sn->hyphenValue);
        $this->assertEquals('test', $sn->hyphenValue);
    }