use of bisq.core.btc.BitcoinNodes.BtcNode in project bisq-core by bisq-network.
the class WalletSetupPreferencesTest method testSelectPreferredNodesWhenPublicOption.
@Test
public void testSelectPreferredNodesWhenPublicOption() {
Preferences delegate = mock(Preferences.class);
when(delegate.getBitcoinNodesOptionOrdinal()).thenReturn(PUBLIC.ordinal());
WalletSetupPreferences preferences = new WalletSetupPreferences(delegate);
List<BtcNode> nodes = preferences.selectPreferredNodes(mock(BitcoinNodes.class));
assertTrue(nodes.isEmpty());
}
Aggregations