PHP Classes

File: tests/unit/Html/FormTest.php

Recommend this page to a friend!
  Packages of Haseeb Ahmad Basil   PHP Skeleton Framework   tests/unit/Html/FormTest.php   Download  
File: tests/unit/Html/FormTest.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 10 years ago
Size: 365 bytes
 

Contents

Class file image Download
<?php

class Html_FormTest extends UnitTestCase {
    
    function setUp() {
    }
    
    function TearDown() {
    }
    
    function testHtml_FormNotNull() {
          $obj = new A_Html_Form();
          $obj->setAction('bar.php');
        
        $this->assertEqual($obj->render(array('name'=>'foo'), 'content'), '<form action="bar.php" method="post" name="foo">content</form>');
    }
    
}