public void AddReservation_ShouldFailWithNotWorkingApiCalls() { ISchedule roomSchedule = new RoomSchedule(apiConfig, logger, failingApiCalls); UploadableReservation reservation = new UploadableReservation(); Boolean expected = false; Boolean actual = roomSchedule.AddReservation(reservation); Assert.Equal(expected, actual); }
public void AddReservation_ShouldWorkWithValidReservation() { ISchedule roomSchedule = new RoomSchedule(apiConfig, logger, apiCalls); UploadableReservation reservation = new UploadableReservation(); Boolean expected = true; Boolean actual = roomSchedule.AddReservation(reservation); Assert.Equal(expected, actual); }