public function testPassNoCollection() { $this->expectArgumentError('Functional\\reject() expects parameter 1 to be array or instance of Traversable'); reject('invalidCollection', 'strlen'); }