public void ToString_ReturnsUnderlyingToString() { string str = "abc"; NonNullable <string> str2 = new NonNullable <string>(str); Assert.AreEqual(str2.ToString(), str); }
public void NonNullable_ToString_ReturnsCorrectValue() { var test = Test.Create(); var nonNullTest = new NonNullable <Test>(test); Assert.AreEqual(test.ToString(), nonNullTest.ToString()); }
public void ToString_ReturnsUnderlyingToString() { string str = "abc"; NonNullable<string> str2 = new NonNullable<string>(str); Assert.AreEqual(str2.ToString(), str); }