assertEquals(BTC.value("0"), account3.getBalance()); Sha256Hash txId = send(BTC.value("0.05"), account1, account2); assertEquals(BTC.value("0.05"), account2.getBalance()); txId = send(BTC.value("0.07"), account1, account3); setTrustedTransaction(account1, txId); setTrustedTransaction(account3, txId); assertEquals(BTC.value("0.07"), account3.getBalance()); txId = send(BTC.value("0.03"), account2, account3); setTrustedTransaction(account2, txId); setTrustedTransaction(account3, txId);