public function testCanAppendToNestedPathValues() { $c = new Collection(); $c->setPath('foo/bar/[]', 'a'); $c->setPath('foo/bar/[]', 'b'); $this->assertEquals(['a', 'b'], $c['foo']['bar']); }