public function testTextLabel() { $type = 'Nethgui\\Widget\\Xhtml\\TextLabel'; $widget = $this->object->textLabel('label'); $this->assertInstanceOf($type, $widget); }