public void TestNullSubString()
 {
     var function = new StartsWithFunction();
     Assert.That(function.Evaluate("a", null), Is.EqualTo(true));
 }
 public void TestNullSource()
 {
     var function = new StartsWithFunction();
     Assert.That(function.Evaluate(null, "a"), Is.EqualTo(false));
 }
 public void TestNotContains()
 {
     var function = new StartsWithFunction();
     Assert.That(function.Evaluate("bcdefg", "a"), Is.EqualTo(false));
 }
 public void TestNullBoth()
 {
     var function = new StartsWithFunction();
     Assert.That(function.Evaluate(null, null), Is.EqualTo(true));
 }
 public void TestNotAtTheEnd()
 {
     var function = new StartsWithFunction();
     Assert.That(function.Evaluate("0abcdefg", "a"), Is.EqualTo(false));
 }