public void TestList() { ReportList reportList = Report.List("shipment"); Assert.AreNotEqual(0, reportList.reports.Count); ReportList nextReportList = reportList.Next(); Assert.AreNotEqual(reportList.reports[0].id, nextReportList.reports[0].id); }
public void TestList() { ReportList reportList = Report.List("shipment", new Dictionary <string, object>() { { "page_size", 1 } }); Assert.AreNotEqual(0, reportList.reports.Count); ReportList nextReportList = reportList.Next(); Assert.AreNotEqual(reportList.reports[0].id, nextReportList.reports[0].id); }