public function testPassNoCallable() { $this->expectArgumentError('Argument 1 passed to Functional\\memoize() must be callable'); memoize('invalidFunction'); }