/** * */ public function testInput1() { $form = $this->buildForm1(); $model = new ViewData($form); $head = $model->node("org.division.head"); $text = $model->node("comment"); $form->setData(INPUT_GET, ['org' => ['division' => ['head' => 'green']], 'comment' => "New Comment"]); // $form->input(INPUT_GET); $this->assertEquals(["green"], $head->core()->getValue()); $this->assertEquals("New Comment", $text->core()->getValue()); }