/** * Test prepending dat * * @return void * @author Dan Cox */ public function test_prepend() { $collection = new Collection(['foo' => 'bar']); $collection->prepend(['test' => 'test']); $this->assertEquals(['test' => 'test', 'foo' => 'bar'], $collection->all()); }