public function testFirst() { $collection = new Collection(['a' => 'x', 'b' => 'Y']); $this->assertEquals('x', $collection->first()); }