AjScript.Tests.Primitives.StringFunctionTests.InvokeWithIntegerArgument C# (CSharp) Method

InvokeWithIntegerArgument() private method

private InvokeWithIntegerArgument ( ) : void
return void
        public void InvokeWithIntegerArgument()
        {
            StringFunction function = new StringFunction(null);

            var result = function.Invoke(null, null, new object[] { 42 });

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