@Test public void testNotFailResult_FAIL() throws KSIException { RuleResult ruleResult = new NotRule(ruleFail).verify(context); verifyResults(ruleResult, VerificationResultCode.FAIL, VerificationErrorCode.GEN_01, "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();  }