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