protected virtual void Dispose(bool disposing) { if (disposing) { // Output any trace from fluent assertions. string faTrace = TraceWriter.ToString().Trim(); if (!string.IsNullOrWhiteSpace(faTrace)) { Output.WriteLine("Fluent Assertions Trace:"); Output.WriteLine(faTrace); } } Fixture = null; TraceWriter = null; Output = null; }