public DateTime GetTestRunStartedTime() { if (_environmentWrapper.GetEnvironmentVariable(SpecFlowMessagesTestRunStartedTimeOverrideName) is ISuccess <string> success && TryParseUniversalDateTime(success.Result, out var dateTime)) { return(dateTime); } return(_clock.GetNowDateAndTime()); }