public function testPassNoString() { $this->expectArgumentError('Functional\\invoker() expects parameter 1 to be string'); invoker([]); }