@Test
public void testInvokeContractTransaction() {

  final AergoKey aergoKey = new AergoKeyGenerator().create();
  final ContractInterface contractInterface = dummyContractInterface();
  final ContractInvocation execute = contractInterface.newInvocationBuilder()
      .function("set")
      .args("key", "123")
      .delegateFee(false)
      .build();
  final RawTransaction executeTransaction = RawTransaction.newInvokeContractBuilder()
      .chainIdHash(ChainIdHash.of(BytesValue.EMPTY))
      .from(aergoKey.getAddress())
      .invocation(execute)
      .nonce(1L)
      .fee(Fee.ZERO)
      .build();
  assertNotNull(executeTransaction);
}