public void SafeToString_Returns_ToString_For_NonNull_Input() { object nonNullInput = new { member = "value" }; string safeToString = nonNullInput.SafeToString(); string toString = nonNullInput.ToString(); Assert.AreEqual(safeToString, toString); }