public function test_pull_returns_default() { $c = new Collection(array()); $value = $c->pull(0, 'foo'); $this->assertEquals('foo', $value); }