Parkour\Functor\AddTest::testInvoke PHP Method

testInvoke() public method

public testInvoke ( )
    public function testInvoke()
    {
        $Add = new Add();
        $this->assertEquals(4, $Add(2, 2));
    }