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