/** * @covers Radio::toInput */ public function testToInput() { $actual = $this->radio->toInput(); $excepted = '<input name="dates" type="radio" value="DatesChoices"></input>'; $this->assertEquals($excepted, $actual); }