コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }