public function testCheckBox() { $column = new CheckBox($this->table, 'test'); $column->setData(['test' => 1]); $output = $column->getValue(); $this->assertTag(['tag' => 'label', 'child' => ['tag' => 'input', 'attributes' => ['type' => 'checkbox', 'class' => 'grid-view-checkbox', 'value' => '1', 'name' => 'test[]']]], $output); }