private HttpMonitorChecked GenerateHttpMonitorChecked(HttpMonitor httpMonitor) { return(httpMonitor .CreateCheckHttpEndpoint(HttpMonitorCheckId.Create()) .CreateHttpMonitorCheck( new HttpRequestTiming(DateTime.UtcNow, DateTime.UtcNow.AddSeconds(1)), new HttpResponse(HttpStatusCode.OK)) .CreateHttpMonitorChecked()); }