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