public function testCheckedWhenTrueConditionShouldCheckItem()
 {
     Form::clear();
     $actual = (string) Form::checkbox('pets')->value('Cat')->checkedWhen(true);
     $expected = '<input type="checkbox" name="pets" id="pets" value="Cat" checked="checked" />';
     $this->assertEquals($expected, $actual);
     Form::clear();
     $actual = (string) Form::radio('pets')->value('Cat')->checkedWhen(true);
     $expected = '<input type="radio" name="pets" id="pets" value="Cat" checked="checked" />';
     $this->assertEquals($expected, $actual);
 }