Created
May 10, 2014 23:41
-
-
Save iannsp/bf874906eff83927c685 to your computer and use it in GitHub Desktop.
Tests para uma collection de Items a ser utilizada em um carrinho de compras
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Ecomz\Cart; | |
class ItemCollectionTest extends \PHPUnit_Framework_TestCase{ | |
public function testCannotAcceptNonItemItems() | |
{ | |
} | |
public function testCannotAcceptDuplicatedItems() | |
{ | |
} | |
public function testIfProductExistInSomeItemNeedCanChooseReplaceItAndAggregateItemValues() | |
{ | |
} | |
public function testIfProductExistInSomeItemNeedCanChooseMaintainItAndAggregateItemValues() | |
{ | |
} | |
public function testCanGetATotalValue() | |
{ | |
} | |
public function testCountItems() | |
{ | |
} | |
public function testCanSaveIt() | |
{ | |
} | |
public function testRemoveAnItem() | |
{ | |
} | |
public function testKnowIfAProductIsOnItemCollection() | |
{ | |
} | |
public function testCanLoadItFromSaved() | |
{ | |
} | |
public function testCheckForUpdateItems() | |
{ | |
} | |
public function testCanUpdateItems() | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment