public function testAdd() { $collection = new Collection(['a' => 'x']); $collection->add(['a' => 'ignored', 'b' => 'y']); $this->assertEquals(new Collection(['a' => 'x', 'b' => 'y']), $collection); }