PHP Classes

File: tests/unit/Controller/FrontTest.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   tests/unit/Controller/FrontTest.php   Download  
File: tests/unit/Controller/FrontTest.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: 521 bytes
 

Contents

Class file image Download
<?php

class Controller_FrontTest extends UnitTestCase {
   
    function
setUp() {
    }
   
    function
TearDown() {
    }
   
    function
testController_FrontNotNull() {
         
$base_path='';
         
$default_action=null;
         
$mapper = new A_Controller_Mapper($base_path, $default_action);

         
$error_action = null;
       
$prefilters = array();
         
$Controller_Front = new A_Controller_Front($mapper, $error_action, $prefilters);
       
       
$result = true;
         
$this->assertTrue($result);
       
$this->assertFalse(!$result);
    }
   
}