Exemplo n.º 1
0
        public async Task CheckingAppointmentsForReviewAsync()
        {
            AppointmentsService service = await this.PrepareAppointmentReviewAsync();

            var hasToReview = await
                              service.CheckPastProceduresAsync(this.client.Id);

            var resultAppointments = await
                                     service.GetAppointmentsToReviewAsync <TestAppointmentModel>(this.client.Id);

            Assert.True(hasToReview);
            Assert.Single(resultAppointments);
        }