コード例 #1
0
        public void SelectProduct()
        {
            int    locationId       = 66;
            int    productId        = 180; //1 dag
            int    returnlocationId = 66;
            string categoryId       = "A";
            string pickupDate       = convertDateTimeToCarlaDateTime(DateTime.Now.AddDays(10));
            string pickupTime       = "0700";
            string returnDate       = convertDateTimeToCarlaDateTime(DateTime.Now.AddDays(11));
            string returnTime       = "0700";
            //Act
            var response = controller.SelectProduct(locationId, returnlocationId, pickupDate, pickupTime, returnDate, returnTime, categoryId, productId);

            //Assert
            Assert.IsNotNull(response);
        }