public function testSetNested() { $structure = new Structure(); $structure->set('key 1', 'value 1'); $structure->set('key 2[key 3]', 'value 2'); $this->assertEquals('value 2', $structure->get('key 2[key 3]')); $this->assertEquals('value 1', $structure->get('key 1')); }