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