Manual money tests (#2338)

This commit is contained in:
Grzegorz Piwowarek 2017-07-30 07:42:16 +02:00 committed by GitHub
parent f445a4d11b
commit 34a793a0fc
1 changed files with 190 additions and 190 deletions

View File

@ -25,7 +25,7 @@ import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail; import static org.junit.Assert.fail;
public class JavaMoneyUnitTest { public class JavaMoneyUnitManualTest {
@Test @Test
public void givenCurrencyCode_whenString_thanExist() { public void givenCurrencyCode_whenString_thanExist() {
@ -179,7 +179,7 @@ public class JavaMoneyUnitTest {
MonetaryAmountFormat customFormat = MonetaryFormats.getAmountFormat(AmountFormatQueryBuilder MonetaryAmountFormat customFormat = MonetaryFormats.getAmountFormat(AmountFormatQueryBuilder
.of(Locale.US) .of(Locale.US)
.set(CurrencyStyle.NAME) .set(CurrencyStyle.NAME)
.set("pattern", "00000.00 ¤") .set("pattern", "00000.00 <EFBFBD>")
.build()); .build());
String customFormatted = customFormat.format(oneDollar); String customFormatted = customFormat.format(oneDollar);