/** * @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"); }