Parkour\Functor\AlwaysTrueTest::testInvoke PHP Method

testInvoke() public method

public testInvoke ( )
    public function testInvoke()
    {
        $AlwaysTrue = new AlwaysTrue();
        $this->assertTrue($AlwaysTrue(2));
        $this->assertTrue($AlwaysTrue(4, 2, 'foo'));
    }
AlwaysTrueTest