[bisq-network/bisq] start testing the wallet services (#3326)
Bernard Labno
notifications at github.com
Mon Sep 30 04:44:35 UTC 2019
blabno commented on this pull request.
> +import bisq.core.user.Preferences;
+import bisq.core.util.ParsingUtils;
+
+import org.bitcoinj.core.Coin;
+import org.bitcoinj.params.UnitTestParams;
+import org.bitcoinj.utils.MonetaryFormat;
+import org.bitcoinj.wallet.Wallet;
+
+import org.junit.Test;
+
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
+
+public class BsqWalletServiceTest {
+ @Test(expected = InsufficientBsqException.class)
+ public void throwsExceptionWhenFundsAreInsufficient() throws TransactionVerificationException, WalletException, BsqChangeBelowDustException, InsufficientBsqException {
Could you separate the code with `//Given`, `//When`, `//Then` comments?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/3326#pullrequestreview-294747855
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190929/cb4ebd87/attachment-0001.html>
More information about the bisq-github
mailing list