assertThat(pairMap).containsKey(CurrencyPair.BTC_USD);
assertThat(pairMap).containsKey(CurrencyPair.LTC_BTC);
assertThat(pairMap).containsKey(new CurrencyPair("AMC", "BTC"));
assertThat(pairMap).containsKey(new CurrencyPair("BMI", "BTC"));
CryptoTradePair pair = pairMap.get(CurrencyPair.BTC_USD);
assertThat(pair.getLabel()).isEqualTo("btc_usd");
assertThat(pair.getType()).isEqualTo(CryptoTradePairType.normal_pair);
assertThat(pair.getMinOrderAmount()).isEqualTo("0.001");
assertThat(pair.getDecimals()).isEqualTo(8);
pair = pairMap.get(new CurrencyPair("AMC", "BTC"));
assertThat(pair.getLabel()).isEqualTo("amc_btc");
assertThat(pair.getType()).isEqualTo(CryptoTradePairType.security_pair);
/*
* XXX: Exchange doesn't return minOrderAmount or Decimals for security_pairs
*/
assertThat(pair.getMinOrderAmount()).isNull();
assertThat(pair.getDecimals()).isEqualTo(0);
assertThat(pairs.getStatus()).isEqualTo("success");
assertThat(pairs.getError()).isNullOrEmpty();
}