### Question:
Wallet { public List<byte[]> getAccountAddresses() { List<byte[]> addresses = new ArrayList<>(); Set<UscAddress> keys = new HashSet<>(); synchronized(accessLock) { for (UscAddress addr: this.initialAccounts) { addresses.add(addr.getBytes()); } for (byte[] address: keyDS.keys()) { keys.add(new UscAddress(address)); } keys.addAll(accounts.keySet()); keys.removeAll(this.initialAccounts); for (UscAddress addr: keys) { addresses.add(addr.getBytes()); } } return addresses; } Wallet(KeyValueDataSource keyDS); List<byte[]> getAccountAddresses(); String[] getAccountAddressesAsHex(); UscAddress addAccount(); UscAddress addAccount(String passphrase); UscAddress addAccount(Account account); Account getAccount(UscAddress addr); Account getAccount(UscAddress addr, String passphrase); boolean unlockAccount(UscAddress addr, String passphrase, long duration); boolean unlockAccount(UscAddress addr, String passphrase); boolean lockAccount(UscAddress addr); byte[] addAccountWithSeed(String seed); byte[] addAccountWithPrivateKey(byte[] privateKeyBytes); byte[] addAccountWithPrivateKey(byte[] privateKeyBytes, String passphrase);  }### Answer:
@Test public void getEmptyAccountList() { Wallet wallet = WalletFactory.createWallet(); List<byte[]> addresses = wallet.getAccountAddresses(); Assert.assertNotNull(addresses); Assert.assertTrue(addresses.isEmpty()); }