public function test_negative_index_throws_value() { $col = new Collection('TestClassA', [new TestClassA(1)]); $col->at(-1); }