@Test
public void testUpdateNameTransaction() {

  final AergoKey aergoKey = new AergoKeyGenerator().create();
  final RawTransaction updateNameTransaction = RawTransaction.newUpdateNameTxBuilder()
      .chainIdHash(ChainIdHash.of(BytesValue.EMPTY))
      .from(aergoKey.getAddress())
      .name("namenamename")
      .nextOwner(AccountAddress.of("AmgVbUZiReUVFXdYb4UVMru4ZqyicSsFPqumRx8LfwMKLFk66SNw"))
      .nonce(1L)
      .build();
  assertNotNull(updateNameTransaction);
}