PHP Classes

File: tests/unit/Cart/ItemTest.php

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

Contents

Class file image Download
<?php

class Cart_ItemTest extends UnitTestCase {
   
    function
setUp() {
    }
   
    function
TearDown() {
    }
   
    function
testCart_ItemNotNull() {
         
$product='SKU';
         
$quantity=1;
         
$data=null;
         
$isunique=false;
         
$hastax=true;
         
$hasshipping=true;
         
$Cart_Item = new A_Cart_Item($product, $quantity, $data, $isunique, $hastax, $hasshipping);
       
       
$result = true;
         
$this->assertTrue($result);
       
$this->assertFalse(!$result);
    }
   
}