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