Exemple #1
0
        public void GetInvalidReturnDates()
        {
            int    locationId  = 66;
            string categoryId  = "A";
            string returnYear  = DateTime.Now.Year.ToString();
            string returnMonth = DateTime.Now.Month.ToString("MM");
            string pickupDate  = convertDateTimeToCarlaDateTime(DateTime.Now);

            //Act
            var response = controller.GetInvalidReturnDates(locationId, categoryId, returnYear, returnMonth, pickupDate);

            //Assert
            Assert.IsNotNull(response);
        }