public void TearDown() { _output = null; _mockOutput = null; _textWriter.Flush(); _textWriter = null; }
private void displayDifferences(CultureCurrencyInfo fromGlobalization, CurrencyInfo fromConfiguration, IEnumerable <KeyValuePair <string, Pair> > differences, TextMessageWriter writer) { displayCultureInformation(writer, fromGlobalization, fromConfiguration); foreach (var diff in differences) { displayDifference(writer, diff); } writer.Flush(); WL(writer.ToString()); StringBuilder sb = writer.GetStringBuilder(); sb.Remove(0, sb.Length); RL(); }