public void GetPreviousStepStatistic() { EventStorePatientStepSchedulingService eventStepService = SetupEventStepService(); StepPreviousStatisticDTO stepStatistic = eventStepService.PreviousSchedulingStepStatistic(); Assert.Equal(4, stepStatistic.TotalNumberOfPrevious); }
public void GetNumberOfPreviousOnAppointmentStep() { EventStorePatientStepSchedulingService eventStepService = SetupEventStepService(); StepPreviousStatisticDTO stepStatistic = eventStepService.PreviousSchedulingStepStatistic(); Assert.Equal(1, stepStatistic.NumberOfPreviousOnAppointmentStep); }
public void GetMostReturnedStep() { EventStorePatientStepSchedulingService eventStepService = SetupEventStepService(); StepPreviousStatisticDTO stepStatistic = eventStepService.PreviousSchedulingStepStatistic(); Assert.Equal(EventStep.Doctor, stepStatistic.MostReturnedStep); }