예제 #1
0
        public void ModelData_parameters_are_precessed()
        {
            var    items         = new Dictionary <string, object>();
            string processedtext = _model.ProcessTemplate("create new ${Host.Date(\"yyyy\")}", items).Text;

            Assert.That(processedtext, Is.EqualTo("create new " + DateTime.Now.Year));
        }