public void TestThatRemoveApostrophesWorks() { string sTestString = "I'd like to help but can't."; string sExpectedString = "Id like to help but cant."; Assert.That(StringFilter.RemoveApostrophes(sTestString), Is.EqualTo(sExpectedString)); }
public void TestThatRemoveApostrophesCanHandleAnEmptyString() { string sTestString = ""; string sExpectedString = sTestString; Assert.That(StringFilter.RemoveApostrophes(sTestString), Is.EqualTo(sExpectedString)); }