Example #1
0
        public void DateTimeAutoValueTestTag_Should_Be_Null_Safe_And_Return_Default()
        {
            var _model = new TagModel(new Hashtable());
            var tag    = new DateTimeAutoValueTestTagWithDefault();

            Assert.That(tag.Evaluate(_model), Is.EqualTo("date=02|10|2015|14|33|22"));
        }
Example #2
0
 public void DateTimeAutoValueTestTag_Should_Be_Null_Safe_And_Return_Default()
 {
     var _model = new TagModel(new Hashtable());
     var tag = new DateTimeAutoValueTestTagWithDefault();
     Assert.That(tag.Evaluate(_model), Is.EqualTo("date=02|10|2015|14|33|22"));
 }