@Test public void testProvidedLevelBigger() throws Exception { RuleResult result = rule.verify(build(TestUtil.loadSignature(SIGNATURE_INPUT_HASH_LEVEL_5), 11L)); Assert.assertNotNull(result); Assert.assertEquals(result.getResultCode(), VerificationResultCode.FAIL); Assert.assertEquals(result.getErrorCode(), VerificationErrorCode.GEN_03); }
VerificationErrorCode getErrorCode() { return VerificationErrorCode.GEN_03; }
InputHashLevelVerificationRule extends BaseRule { VerificationErrorCode getErrorCode() { return VerificationErrorCode.GEN_03; } }
InputHashLevelVerificationRule extends BaseRule { VerificationErrorCode getErrorCode() { return VerificationErrorCode.GEN_03; }  }
InputHashLevelVerificationRule extends BaseRule { VerificationErrorCode getErrorCode() { return VerificationErrorCode.GEN_03; }   }
InputHashLevelVerificationRule extends BaseRule { VerificationErrorCode getErrorCode() { return VerificationErrorCode.GEN_03; }    }