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