public function testDateInput() { $type = 'Nethgui\\Widget\\Xhtml\\TextInput'; $widget = $this->object->dateInput('date'); $this->assertInstanceOf($type, $widget); }