Manual money tests (#2338)
This commit is contained in:
parent
f445a4d11b
commit
34a793a0fc
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue