public void TestSubStringAfterNonExistingBefore() { var function = new SubStringAfterFunction(); Assert.That(function.Evaluate("abcdefg", "xyz"), Is.EqualTo("")); }
public void TestSubStringAfterBeforeNull() { var function = new SubStringAfterFunction(); Assert.That(function.Evaluate("abcdefg", null), Is.EqualTo("")); }
public void TestSubStringAfterExisting() { var function = new SubStringAfterFunction(); Assert.That(function.Evaluate("abcdefg", "de"), Is.EqualTo("fg")); }
public void TestSubStringAfterAllNull() { var function = new SubStringAfterFunction(); Assert.That(function.Evaluate(null, null), Is.EqualTo("")); }