PHP Classes

File: tests/unit/Filter/SubstrTest.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   tests/unit/Filter/SubstrTest.php   Download  
File: tests/unit/Filter/SubstrTest.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: 8 years ago
Size: 353 bytes
 

Contents

Class file image Download
<?php

class Filter_SubstrTest extends UnitTestCase {
   
    function
setUp() {
    }
   
    function
TearDown() {
    }
   
    function
testFilter_SubstrNotNull() {
         
$start = 2;
         
$length = 4;
         
$Filter_Substr = new A_Filter_Substr($start, $length);
       
       
$result = true;
         
$this->assertTrue($result);
       
$this->assertFalse(!$result);
    }
   
}