@Test public void testGetAddress() throws Exception { final AergoKey aergoKey = keyGenerator.create(); final Account account = new AccountWithKey(aergoKey); assertEquals(aergoKey.getAddress(), account.getAddress()); }
@Override public AccountAddress getAddress() { return key.getAddress(); }
AccountWithKey extends AbstractAccount implements TxSigner { @Override public AccountAddress getAddress() { return key.getAddress(); } }
AccountWithKey extends AbstractAccount implements TxSigner { @Override public AccountAddress getAddress() { return key.getAddress(); }  }
AccountWithKey extends AbstractAccount implements TxSigner { @Override public AccountAddress getAddress() { return key.getAddress(); }  @Override AccountAddress getAddress(); @Override Transaction sign(final RawTransaction rawTransaction); }
AccountWithKey extends AbstractAccount implements TxSigner { @Override public AccountAddress getAddress() { return key.getAddress(); }  @Override AccountAddress getAddress(); @Override Transaction sign(final RawTransaction rawTransaction);  }