private static string GetFailMessage(IComparerResult comparerResult) { UnitTestWriter unitTestWriter = new UnitTestWriter(); GetFailMessageElements(comparerResult).Write(unitTestWriter); return(unitTestWriter.GetTextAsString()); }
private static string GetFailMessage(IComparerResult comparerResult) { UnitTestWriter unitTestWriter = new UnitTestWriter(); Element failMessageElements = GetFailMessageElements(comparerResult); if (failMessageElements != null) { failMessageElements.Write(unitTestWriter); } return(unitTestWriter.GetTextAsString()); }