Functional\Tests\FirstTest::testPassNonCallable PHP Method

testPassNonCallable() public method

public testPassNonCallable ( $functionName )
    public function testPassNonCallable($functionName)
    {
        $this->expectArgumentError(sprintf('Argument 2 passed to %s() must be callable', $functionName));
        $functionName($this->list, 'undefinedFunction');
    }