Example #1
0
        public void TodayFunctionShouldReturnTodaysDate()
        {
            var func   = new Today();
            var args   = new FunctionArgument[0];
            var result = func.Execute(args, this.ParsingContext);

            Assert.AreEqual(DateTime.Now.Date, result.Result);
        }