Functional\Tests\SortTest::testPassNonCallable PHP Method

testPassNonCallable() public method

public testPassNonCallable ( )
    public function testPassNonCallable()
    {
        $this->expectArgumentError("Argument 2 passed to Functional\\sort() must be callable");
        F\sort($this->list, 'undefinedFunction');
    }