private static void AssertInnerUnitTestResult(InnerUnitTestResult expected, TestReportLine actual)
 {
     Assert.Equal(expected.TestName, actual.ParameterTestCaseName);
     Assert.Equal(expected.Outcome, actual.ParameterTestOutCome);
     AssertDateTime(expected.StartTime, actual.ParameterTestStartTime);
     AssertDateTime(expected.EndTime, actual.ParameterTestEndTime);
     AssertDateTime(expected.Duration, actual.ParameterTestDuration);
     Assert.Equal(expected.Output?.ErrorInfo?.Message, actual.ParameterTestErrorMessage);
     Assert.Equal(expected.Output?.ErrorInfo?.StackTrace, actual.ParameterTestStackTrace);
 }
 private static void AssertTestDefinition(UnitTest expected, TestReportLine actual)
 {
     Assert.Equal(expected?.TestMethod?.ClassName, actual.TestClassName);
     Assert.Equal(string.Join(",", expected?.TestCategory?.Select(_ => _.TestCategory) ?? Enumerable.Empty <string>()), actual.TestCategory);
 }