public void RoundtripBuildStartedEventArgs() { var args = new BuildStartedEventArgs( "Message", "HelpKeyword", DateTime.Parse("3/1/2017 11:11:56 AM")); Roundtrip(args, e => e.Message, e => e.HelpKeyword, e => e.Timestamp.ToString()); args = new BuildStartedEventArgs( "M", null, new Dictionary <string, string> { { "SampleName", "SampleValue" } }); Roundtrip(args, e => TranslationHelpers.ToString(e.BuildEnvironment), e => e.HelpKeyword, e => e.ThreadId.ToString(), e => e.SenderName); }