### Question:
VoteValidationRule implements DetachedBlockHeaderValidationRule { @Override public boolean validate(final BlockHeader header, final BlockHeader parent) { final long nonce = header.getNonce(); if (!CliqueBlockInterface.isValidVoteValue(nonce)) { LOG.trace("Nonce value ({}) is neither auth or drop.", nonce); return false; } return true; }  @Override boolean validate(final BlockHeader header, final BlockHeader parent);  }### Answer:
@Test public void test() { final VoteValidationRule uut = new VoteValidationRule(); final BlockHeaderTestFixture blockBuilder = new BlockHeaderTestFixture(); blockBuilder.nonce(actualVote); final BlockHeader header = blockBuilder.buildHeader(); assertThat(uut.validate(header, null)).isEqualTo(expectedResult); }