Parkour\Functor\IdentityTest::testInvoke PHP Method

testInvoke() public method

public testInvoke ( )
    public function testInvoke()
    {
        $Identity = new Identity();
        $this->assertEquals(2, $Identity(2));
        $this->assertEquals(4, $Identity(4, 2, 'foo'));
    }
IdentityTest