SimpleTest::testMapSimpleNoType PHP Method

testMapSimpleNoType() public method

Test for variable with no @var annotation
public testMapSimpleNoType ( )
    public function testMapSimpleNoType()
    {
        $jm = new JsonMapper();
        $sn = $jm->map(json_decode('{"notype":{"k":"v"}}'), new JsonMapperTest_Simple());
        $this->assertInternalType('object', $sn->notype);
        $this->assertEquals((object) array('k' => 'v'), $sn->notype);
    }