Functional\Tests\LastTest::testPassNonCallable PHP Méthode

testPassNonCallable() public méthode

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