PHP Classes

File: tests/unit/Cart/Shipping/UpsTest.php

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

Contents

Class file image Download
<?php

class Cart_Shipping_UpsTest extends UnitTestCase {
   
    function
setUp() {
    }
   
    function
TearDown() {
    }
   
    function
testCart_Shipping_UpsNotNull() {
       
$shipping_type='';
       
$postal_from='';
       
$postal_to='';
       
$country_to='US';
       
$weight='';
       
$Cart_Shipping_Ups = new A_Cart_Shipping_Ups($shipping_type, $postal_from, $postal_to, $country_to, $weight);
       
       
$result = true;
         
$this->assertTrue($result);
       
$this->assertFalse(!$result);
    }
   
}