AjTalk.Tests.EvaluateTests.InvokeDotNetMethodWithParameters C# (CSharp) Method

InvokeDotNetMethodWithParameters() private method

private InvokeDotNetMethodWithParameters ( ) : void
return void
        public void InvokeDotNetMethodWithParameters()
        {
            object result = this.Evaluate("'foobar' !substring: 1 with: 2");

            Assert.IsNotNull(result);
            Assert.IsInstanceOfType(result, typeof(string));
            Assert.AreEqual("oo", result);
        }
EvaluateTests