public void Error_reproduction()
        {
            var sut = new BackendRequestHandler();

            var result = sut.Handle(new CurrentPlanQuery {
                Date = new DateTime(2019, 2, 4)
            });

            Assert.IsEmpty(result.Schedule);
        }
        public void Send_notifications()
        {
            System.Environment.SetEnvironmentVariable("PUSHOVER_APP_TOKEN", "???");
            System.Environment.SetEnvironmentVariable("PUSHOVER_USER_KEY", "???");

            var sut = new BackendRequestHandler();

            sut.Handle(new RegisterConsultationCommand {
                ConsultationId    = "1",
                PatientId         = "Balin",
                RequestedTimeslot = new Timeslot {
                    Start    = new DateTime(2019, 2, 4, 10, 0, 0),
                    End      = new DateTime(2019, 2, 4, 12, 0, 0),
                    Duration = new TimeSpan(0, 0, 30, 0),
                }
            });

            var result = sut.HandleNotificationRequest(new DateTime(2019, 2, 4, 9, 5, 0));

            Assert.AreEqual(1, result);

            result = sut.HandleNotificationRequest(new DateTime(2019, 2, 4, 9, 5, 0));
            Assert.AreEqual(0, result);
        }