PHP Classes

File: tests/unit/Rule/DateTest.php

Recommend this page to a friend!
  Packages of Haseeb Ahmad Basil   PHP Skeleton Framework   tests/unit/Rule/DateTest.php   Download  
File: tests/unit/Rule/DateTest.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: 385 bytes
 

Contents

Class file image Download
<?php

class Rule_DateTest extends UnitTestCase {
    
    function setUp() {
    }
    
    function TearDown() {
    }
    
    function testRule_DateNotNull() {
        $dataspace = new A_Collection();

        $field = 'foo';
        $errorMsg = 'foo error';
        $Rule_Date = new A_Rule_Date($field, $errorMsg);
        
        $result = true;
        $this->assertTrue($result);
        $this->assertFalse(!$result);
    }
    
}