private void WriteFailure(ITestLogger logger, XElement testCase)
        {
            var failureElement = testCase.Element("failure");

            logger.WriteTestFailed((string)failureElement.Element("message"), (string)failureElement.Element("stack-trace"));
        }
 private void WriteFailure(ITestLogger logger, XElement testCase)
 {
     var failureElement = testCase.Element("failure");
     logger.WriteTestFailed((string) failureElement.Element("message"), (string) failureElement.Element("stack-trace"));
 }