@Test public void testCompositeRuleNotNAResult_OK() throws KSIException { Rule rule = new NotRule(new CompositeRule(false, ruleNa, ruleFail, ruleOk)); RuleResult ruleResult = rule.verify(context); verifyResults(ruleResult, VerificationResultCode.OK, null, "Not TestRule,"); }
@Override public RuleResult verify(VerificationContext context) throws KSIException { return new NotRuleResult(rule, rule.verify(context)); }
NotRule implements Rule { @Override public RuleResult verify(VerificationContext context) throws KSIException { return new NotRuleResult(rule, rule.verify(context)); } }
NotRule implements Rule { @Override public RuleResult verify(VerificationContext context) throws KSIException { return new NotRuleResult(rule, rule.verify(context)); } NotRule(Rule rule); }
NotRule implements Rule { @Override public RuleResult verify(VerificationContext context) throws KSIException { return new NotRuleResult(rule, rule.verify(context)); } NotRule(Rule rule); @Override RuleResult verify(VerificationContext context); @Override String toString(); }
NotRule implements Rule { @Override public RuleResult verify(VerificationContext context) throws KSIException { return new NotRuleResult(rule, rule.verify(context)); } NotRule(Rule rule); @Override RuleResult verify(VerificationContext context); @Override String toString();  }