public void PostTest() { PostRunRule<string> ruleBase = new PostRunRule<string>(); ruleBase.Execute("blah"); var result = ruleBase.Execute("blah"); Assert.IsNotNull(result); Assert.IsTrue(result.Message.Contains("PostRun")); }
public void PostTest() { PostRunRule <string> ruleBase = new PostRunRule <string>(); ruleBase.Execute("blah"); var result = ruleBase.Execute("blah"); Assert.IsNotNull(result); Assert.IsTrue(result.Message.Contains("PostRun")); }
public void ConstructorTest() { var rule = new PostRunRule <string>(); var result = rule.Execute("noop"); Assert.IsNotNull(result); Assert.IsNotNull(result.TimeStart); Assert.IsNotNull(result.TimeEnd); }