@Test public void testCreateWithAddress() { final AergoKey key = new AergoKeyGenerator().create(); final Account account = new AccountFactory().create(key.getAddress()); assertNotNull(account); }
@ApiAudience.Public public Account create(final AccountAddress accountAddress) { assertNotNull(accountAddress); return new AccountWithAddress(accountAddress); }
AccountFactory { @ApiAudience.Public public Account create(final AccountAddress accountAddress) { assertNotNull(accountAddress); return new AccountWithAddress(accountAddress); } }
AccountFactory { @ApiAudience.Public public Account create(final AccountAddress accountAddress) { assertNotNull(accountAddress); return new AccountWithAddress(accountAddress); }  }
AccountFactory { @ApiAudience.Public public Account create(final AccountAddress accountAddress) { assertNotNull(accountAddress); return new AccountWithAddress(accountAddress); }  @ApiAudience.Public Account create(final AccountAddress accountAddress); @ApiAudience.Public Account create(final AergoKey aergoKey); @ApiAudience.Private Account create(final AccountAddress accountAddress, final TxSigner txSigner); }
AccountFactory { @ApiAudience.Public public Account create(final AccountAddress accountAddress) { assertNotNull(accountAddress); return new AccountWithAddress(accountAddress); }  @ApiAudience.Public Account create(final AccountAddress accountAddress); @ApiAudience.Public Account create(final AergoKey aergoKey); @ApiAudience.Private Account create(final AccountAddress accountAddress, final TxSigner txSigner);  }