public static NotificationRequestBuilder For(string notificationMode, 
            HealthCheckData message, 
            Action<NotificationRequest> configurer = null)
        {
            var alert = new NotificationEventHealthCheck
            {
                CheckId = message.Identity.Name,
                CriticalFailure = message.CriticalFailure,
                CriticalFailureDetails = message.CriticalFailureDetails,
                Duration = message.Duration,
                GeneratedOnUtc = message.GeneratedOnUtc,
                Message = message.Info,
                NextCheckExpected = message.NextCheckExpected,
                Properties = message.Properties,
                Result = message.Result,
                ResultCount = message.ResultCount,
                DisplayUnit = message.DisplayUnit,
                Tags = message.Tags
            };

            var builder = For(notificationMode, alert);

            if (configurer != null)
                configurer(builder._request);
            return builder;
        }
 public void TheHealthCheckResultXmlIsDeserialised()
 {
     SafeExecute(() => _resultEntity = Serialiser.FromXmlInFile<NotificationEventHealthCheck>(_xmlFilePath));
 }