mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-20 12:54:37 -04:00
Annotate Immutable classes
This commit is contained in:
parent
afe64bea4d
commit
180b5ad0f0
29 changed files with 205 additions and 326 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
package io.bitsquare.gui.main.trade.createoffer;
|
||||
|
||||
import io.bitsquare.fiat.FiatAccountType;
|
||||
import io.bitsquare.fiat.FiatAccount;
|
||||
import io.bitsquare.gui.util.BSFormatter;
|
||||
import io.bitsquare.gui.util.validation.BtcValidator;
|
||||
import io.bitsquare.gui.util.validation.FiatValidator;
|
||||
|
@ -97,10 +97,10 @@ public class CreateOfferViewModelTest {
|
|||
assertEquals(Fiat.valueOf("USD", 9999900), model.volumeAsFiat.get());
|
||||
|
||||
|
||||
model.bankAccountType.set(FiatAccountType.SEPA.toString());
|
||||
model.bankAccountType.set(FiatAccount.Type.SEPA.toString());
|
||||
assertEquals("Sepa", presenter.bankAccountType.get());
|
||||
|
||||
model.bankAccountType.set(FiatAccountType.WIRE.toString());
|
||||
model.bankAccountType.set(FiatAccount.Type.WIRE.toString());
|
||||
assertEquals("Wire", presenter.bankAccountType.get());
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue