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