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