public void SetData_ToTestValue_ToStringReturnsTestValue() { var objectUnderTest = new nsAString(); objectUnderTest.SetData("hello world"); Assert.AreEqual("hello world", objectUnderTest.ToString()); }
public void SetData_ToEmptyString_ToStringReturnsEmptyString() { var objectUnderTest = new nsAString(); objectUnderTest.SetData(String.Empty); Assert.AreEqual(String.Empty, objectUnderTest.ToString()); }
public void SetData_ToNull_ToStringReturnsNull() { var objectUnderTest = new nsAString(); objectUnderTest.SetData(null); Assert.AreEqual(null, objectUnderTest.ToString()); }