* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL, version 2 * @author Icinga Development Team */ // {{{ICINGA_LICENSE_HEADER}}} namespace Tests\Icinga\Test; require_once realpath(__DIR__ . '/../../../../../library/Icinga/Test/BaseTestCase.php'); use Icinga\Test\BaseTestCase; class BaseTestCaseFormTest extends BaseTestCase { public function testFormCreation() { $form1 = $this->createForm('Icinga\Form\Authentication\LoginForm'); $this->assertInstanceOf('Icinga\Web\Form', $form1); $form2 = $this->createForm('Monitoring\Form\Config\ConfirmRemovalForm'); $this->assertInstanceOf('Icinga\Web\Form', $form2); } }