Extension\TypeoffTest::testCallable PHP Метод

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

public testCallable ( )
    public function testCallable()
    {
        $t = new \Test\Typeoff();
        $callback = function () {
        };
        $this->assertTrue($t->testCallableTypeOf($callback));
        $this->assertFalse($t->testCallableTypeOf(true));
    }