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