/** * @covers Xoops\Form\Radio::render */ public function testRender() { $this->object->addOption('key', 'value'); $value = $this->object->render(); $this->assertTrue(is_string($value)); $this->assertTrue(false !== strpos($value, '<label class="radio')); $this->assertTrue(false !== strpos($value, ' type="radio"')); }