public void TestHonestStringWithValue() { Honest <string> sut = "Hello"; Assert.IsTrue(sut == "Hello"); Assert.AreEqual(sut, "Hello"); }
public void TestHonestNullString() { string sut = new Honest <string>(null); Assert.IsNull(sut); }
public void TestHonestUnknownString() { Assert.Throws <InvalidOperationException>(() => { string sut = Honest <string> .DontKnow(); }); }