Ejemplo n.º 1
0
        public void Can_Get_Filtered_RecordPaging() {

            var filter = new Api.FilterOrders() {
                MinimumId = 3000
            };
            var response_count = Client.Orders.Count(filter);
            var response_list = Client.Orders.GetList(filter);

            Assert.AreEqual(response_list.Count, response_count.Data.Count);
        }
Ejemplo n.º 2
0
        public void Can_Get_Filtered_RecordPaging()
        {
            var filter = new Api.FilterOrders()
            {
                MinimumId = 3000
            };
            var response_count = Client.Brands.Count(filter);
            var response_list  = Client.Brands.GetList(filter);

            Assert.AreEqual(response_list.Count, response_count.Data.Count);
        }
Ejemplo n.º 3
0
        public void Can_Get_Filtered() {

            var filter = new Api.FilterOrders() {
                MaximumId = 30
            };

            var response = Client.Brands.Get(filter);

            Assert.AreEqual(response.RestResponse.StatusCode, System.Net.HttpStatusCode.OK);
            Assert.Greater(response.Data.Count, 0);
        }
Ejemplo n.º 4
0
        public void Can_Get_Filtered()
        {
            var filter = new Api.FilterOrders()
            {
                MaximumId = 30
            };

            var response = Client.Brands.Get(filter);

            Assert.AreEqual(response.RestResponse.StatusCode, System.Net.HttpStatusCode.OK);
            Assert.Greater(response.Data.Count, 0);
        }