public function test_attribute_without_value() { $h = new HtmlHelper(); $this->assertEquals('<option checked></option>', $h->option("", "checked")->toString()); $this->assertEquals('<input type="checkbox" checked />', $h->input("", array('type' => 'checkbox', 'checked' => null))->toString()); }