@Test public void testCurrentSymbol() throws Exception { Configurations.currentConfiguration.getBitcoin().setLocalCurrencyCode(Currency.getInstance(Locale.US).getCurrencyCode()); final String actual_US = CurrencyUtils.currentSymbol(); assertThat(actual_US).isEqualTo("$"); Configurations.currentConfiguration.getBitcoin().setLocalCurrencyCode(Currency.getInstance(Locale.UK).getCurrencyCode()); final String actual_UK = CurrencyUtils.currentSymbol(); assertThat(actual_UK).isEqualTo("£"); Configurations.currentConfiguration.getBitcoin().setLocalCurrencyCode(Currency.getInstance(new Locale("ar", "SA")).getCurrencyCode()); final char[] actual_AR = CurrencyUtils.currentSymbol().toCharArray(); assertThat((int) actual_AR[0]).isEqualTo(1585); assertThat((int) actual_AR[1]).isEqualTo(46); assertThat((int) actual_AR[2]).isEqualTo(1587); assertThat((int) actual_AR[3]).isEqualTo(46); assertThat((int) actual_AR[4]).isEqualTo(8207); }
public static String currentSymbol() { String currentCode = Configurations.currentConfiguration.getLocalCurrency().getCurrencyCode(); return symbolFor(currentCode); }
CurrencyUtils { public static String currentSymbol() { String currentCode = Configurations.currentConfiguration.getLocalCurrency().getCurrencyCode(); return symbolFor(currentCode); } }
CurrencyUtils { public static String currentSymbol() { String currentCode = Configurations.currentConfiguration.getLocalCurrency().getCurrencyCode(); return symbolFor(currentCode); }  }
CurrencyUtils { public static String currentSymbol() { String currentCode = Configurations.currentConfiguration.getLocalCurrency().getCurrencyCode(); return symbolFor(currentCode); }  static String currentSymbol(); static String symbolFor(String isoCode); static String isoCandidateFor(String currency); }
CurrencyUtils { public static String currentSymbol() { String currentCode = Configurations.currentConfiguration.getLocalCurrency().getCurrencyCode(); return symbolFor(currentCode); }  static String currentSymbol(); static String symbolFor(String isoCode); static String isoCandidateFor(String currency);  }