SimpleTest::testMapSimpleBoolean PHP Method

testMapSimpleBoolean() public method

Test for "@var boolean"
    public function testMapSimpleBoolean()
    {
        $jm = new JsonMapper();
        $sn = $jm->map(json_decode('{"pboolean":"0"}'), new JsonMapperTest_Simple());
        $this->assertInternalType('boolean', $sn->pboolean);
        $this->assertEquals(false, $sn->pboolean);
    }