public void ShouldViewAvailability() { // arrange DateTime start = DateTime.Now; DateTime end = DateTime.Now.AddDays(1); // act var controller = new ViewAvailabilityController(roomBookingService); var result = controller.GetFreeRoom(start, end); // assert Assert.IsNotNull(result); }
public ViewAvailabilityControllerTest() { controller = new ViewAvailabilityController(roomBookingService); }