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