public void MonitorThreshold_Scenario_Does_Not_Create_Reponse_If_Treshold_Not_Reached()
        {
            //Arrange
            Request          request = Request.ThresholdBaseRequest(100.0m);
            MonitorThreshold monitorTemperatureScenario = new MonitorThreshold();

            //Act
            var result = monitorTemperatureScenario.CreateResponse(request, 99.9m, null);

            //Assert
            Assert.IsNull(result);
        }
        public void MonitorThreshold_Scenario_Can_Creates_Reponse_For_ThresholdBaseRequest()
        {
            //Arrange
            Request          request = Request.ThresholdBaseRequest(100.0m);
            MonitorThreshold monitorTemperatureScenario = new MonitorThreshold();

            //Act
            var result = monitorTemperatureScenario.CreateResponse(request, 100.0m, null);

            //Assert
            Assert.IsInstanceOfType(result, typeof(Thermometer));
            Assert.AreEqual(result.ObservationTime, DateTime.UtcNow);
        }