Beispiel #1
0
        public void PreRunTest()
        {
            PreRunRule<string> ruleBase = new PreRunRule<string>();
            Assert.IsNotNull(ruleBase);
            var result = ruleBase.Execute("blah");
            Assert.IsNotNull(result);
            Assert.IsTrue(result.Message.Contains("PreRun"));

        }
        public void ConstructorTest()
        {
            var rule   = new PreRunRule <string>();
            var result = rule.Execute("noop");

            Assert.IsNotNull(result);
            Assert.IsNotNull(result.TimeStart);
            Assert.IsNotNull(result.TimeEnd);
        }
        public void PreRunTest()
        {
            PreRunRule <string> ruleBase = new PreRunRule <string>();

            Assert.IsNotNull(ruleBase);
            var result = ruleBase.Execute("blah");

            Assert.IsNotNull(result);
            Assert.IsTrue(result.Message.Contains("PreRun"));
        }