public function test_pull_removes_item_from_collection() { $c = new Collection(array('foo', 'bar')); $c->pull(0); $this->assertEquals(array(1 => 'bar'), $c->all()); }