@Test
public void testHoldsAccount() {

    Account account = Account.createAccount();
    Wallet wallet = Wallet.createWallet();
    wallet.addAccounts(account);
    assertTrue(wallet.holdsAccount(account.getScriptHash()));
    wallet.removeAccount(account.getScriptHash());
    assertFalse(wallet.holdsAccount(account.getScriptHash()));
}