/** * @covers Checkbox::toString */ public function testToString() { $actual = $this->checkbox->toString(); $excepted = '<input name="DateChoice" type="checkbox" value="1" disabled></input>'; $this->assertEquals($excepted, $actual); }