public void VerifyImplicitConversion() { string x = ImmutableString.Create("FOO"); Assert.AreEqual("FOO", x); }
public void TestCreateCustomer() { var sut = new ImmutableCustomer() { FirstName = "John" }; Assert.IsTrue(sut.FirstName == "John"); sut.FirstName = ImmutableString.Create("JP"); Assert.AreEqual("John", sut.FirstName.Value); }