PHP Classes

File: tests/unit/Controller/ActionTest.php

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

Contents

Class file image Download
<?php

class Controller_ActionTest extends UnitTestCase {
   
    function
setUp() {
    }
   
    function
TearDown() {
    }
   
    function
testController_ActionNotNull() {
         
$locator = new A_Locator();
         
         
$base_path='';
         
$default_action=null;
         
$mapper = new A_Controller_Mapper($base_path, $default_action);
         
$locator->set('Mapper', $mapper);
         
       
$Controller_Action = new A_Controller_Action($locator);
       
       
$result = true;
         
$this->assertTrue($result);
       
$this->assertFalse(!$result);
    }
   
}