public void GetAvailableAppointmentRealocationsForTwoRomsSuccess() { AppointmentRenovationService appointmentRealocationService = new AppointmentRenovationService(CreateStubRepositoryAppointmentRenovation(), CreateStubRepositoryAppointment()); var gotAppointments = appointmentRealocationService.GetAvailableAppointmentRenovationsForTwoRoms(1003, 1119, DateTime.Now, DateTime.Now.AddHours(5)); gotAppointments.ShouldNotBeEmpty(); }
public void GetAvailableAppointmentRealocationsForTwoRomsFail() { AppointmentRenovationService appointmentRealocationService = new AppointmentRenovationService(CreateStubRepositoryAppointmentRenovation(), CreateStubRepositoryAppointment()); var gotAppointments = appointmentRealocationService.GetAvailableAppointmentRenovationsForTwoRoms(1003, 1119, new DateTime(1999, 10, 3, 0, 0, 0), new DateTime(1999, 10, 4, 0, 0, 0)); gotAppointments.IsNullOrEmpty(); }