testcases updated

updated testcases to match new json schema
and updates with camel case function names
This commit is contained in:
Ganesh Hegde
2013-05-28 10:08:34 +05:30
parent 125a7b66f3
commit 50b09bdbde
22 changed files with 179 additions and 197 deletions

View File

@@ -21,7 +21,7 @@ class ItemListTest extends \PHPUnit_Framework_TestCase {
$itemList = new ItemList();
$itemList->setItems(array($item));
$itemList->setShipping_address(ShippingAddressTest::createAddress());
$itemList->setShippingAddress(ShippingAddressTest::createAddress());
return $itemList;
}
@@ -33,7 +33,7 @@ class ItemListTest extends \PHPUnit_Framework_TestCase {
public function testGetterSetters() {
$items = $this->items->getItems();
$this->assertEquals(ItemTest::createItem(), $items[0]);
$this->assertEquals(ShippingAddressTest::createAddress(), $this->items->getShipping_address());
$this->assertEquals(ShippingAddressTest::createAddress(), $this->items->getShippingAddress());
}
public function testSerializeDeserialize() {