public function testSetDataByPath() { $value = 'value'; $path = '<section>/<group>/<field>'; $this->_model->setDataByPath($path, $value); $expected = ['section' => '<section>', 'groups' => ['<group>' => ['fields' => ['<field>' => ['value' => $value]]]]]; $this->assertSame($expected, $this->_model->getData()); }