public void Substring_Test() { var function = new Substring { StartIndex = 0, EndIndex = 3 }; var result = function.Evaluate("string"); Assert.AreEqual("str", result); }