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