public void GetAlternativeAvailableAppointmentsSuccess() { AppointmentRealocationService appointmentRealocationService = new AppointmentRealocationService(CreateStubRepositoryAppointmentRealocation(), CreateStubRepositoryAppointment()); var gotAppointments = appointmentRealocationService.GetAlternativeAvailableAppointments(1003, 1119, DateTime.Now, 1); gotAppointments.ShouldNotBeEmpty(); }
public void GetAlternativeAvailableAppointmentsFail() { AppointmentRealocationService appointmentRealocationService = new AppointmentRealocationService(CreateStubRepositoryAppointmentRealocation(), CreateStubRepositoryAppointment()); var gotAppointments = appointmentRealocationService.GetAlternativeAvailableAppointments(1003, 1119, new DateTime(1999, 10, 3, 0, 0, 0), 1); gotAppointments.IsNullOrEmpty(); }