public function testRemoveAtWithLength() { $collection = new Collection(['a', 'b', 'b', 'b', 'c']); $this->assertSame(['a', 'c'], $collection->copy()->removeAt(1, 3)->toArray()); $this->assertSame(['a', 'b', 'c'], $collection->removeAt(2, 2)->toArray()); }