@Test
public void testVoteTransaction() {

  final AergoKey aergoKey = new AergoKeyGenerator().create();
  final RawTransaction voteTransaction = RawTransaction.newVoteTxBuilder()
      .chainIdHash(ChainIdHash.of(BytesValue.EMPTY))
      .from(aergoKey.getAddress())
      .voteId("voteBP")
      .candidates(asList("123", "456"))
      .nonce(1L)
      .build();
  assertNotNull(voteTransaction);
}