public void TestList() { ShipmentList shipmentList = Shipment.List(); Assert.AreNotEqual(0, shipmentList.shipments.Count); ShipmentList nextShipmentList = shipmentList.Next(); Assert.AreNotEqual(shipmentList.shipments[0].id, nextShipmentList.shipments[0].id); }
public void TestList() { ShipmentList shipmentList = Shipment.List(null, new Dictionary <string, object>() { { "page_size", 1 } }); Assert.AreNotEqual(0, shipmentList.shipments.Count); ShipmentList nextShipmentList = shipmentList.Next(null); Assert.AreNotEqual(shipmentList.shipments[0].id, nextShipmentList.shipments[0].id); }