Extension\CastTest::testBooleanCast PHP Метод

testBooleanCast() публичный Метод

public testBooleanCast ( )
    public function testBooleanCast()
    {
        $t = new Cast();
        $this->assertTrue($t->testBooleanCastFromIntTrue1());
        $this->assertTrue($t->testBooleanCastFromIntTrue2());
        $this->assertFalse($t->testBooleanCastFromIntFalse());
        $this->assertTrue($t->testBooleanCastFromObject());
        $this->assertFalse($t->testBooleanCastFromEmptyArray());
        $this->assertTrue($t->testBooleanCastFromArray());
        $this->assertFalse($t->testBooleanCastFromNull());
    }