PHP Classes

File: tests/unit/Db/DatamapperTest.php

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

Contents

Class file image Download
<?php

class Db_DatamapperTest extends UnitTestCase {
    
    function setUp() {
    }
    
    function TearDown() {
    }
    
    function testDb_DatamapperNotNull() {
          $db = null;
          $class_name = 'Foo';
          $table_name = 'bar';
          $Db_Datamapper = new A_Db_Datamapper($db, $class_name, $table_name);
        
        $result = true;
          $this->assertTrue($result);
        $this->assertFalse(!$result);
    }
    
}