@Test
public void withLocale() throws Exception {

    final Coin value = Coin.valueOf(-1234567890l);
    assertEquals("-12.34567890", NO_CODE.withLocale(Locale.US).format(value).toString());
    assertEquals("-12,34567890", NO_CODE.withLocale(Locale.GERMANY).format(value).toString());
    assertEquals("-१२.३४५६७८९०", NO_CODE.withLocale(new Locale("hi", "IN")).format(value).toString()); // Devanagari
}