public function testWithMultipleModeValues() { $collection = new Collection([1, 2, 2, 1]); $this->assertEquals([1, 2], $collection->mode()); }