public function testRenderDateInput() { $date = new Date('birthday'); $expected = '<input type="date" name="birthday">'; $result = $date->render(); $this->assertEquals($expected, $result); }