Shipping address.
public getShippingAddress ( ) : |
||
return |
/** * @depends testSerializationDeserialization * @param ItemList $obj */ public function testGetters($obj) { $this->assertEquals($obj->getItems(), ItemTest::getObject()); $this->assertEquals($obj->getShippingAddress(), ShippingAddressTest::getObject()); $this->assertEquals($obj->getShippingMethod(), "TestSample"); $this->assertEquals($obj->getShippingPhoneNumber(), "TestSample"); }
public function testGetterSetters() { $items = $this->items->getItems(); $this->assertEquals(ItemTest::createItem(), $items[0]); $this->assertEquals(ShippingAddressTest::getObject(), $this->items->getShippingAddress()); }