@Test public void testToBuilder() throws Exception { AmountFormatQuery style = AmountFormatQueryBuilder.of(Locale.ENGLISH).build(); AmountFormatQueryBuilder builder = style.toBuilder(); assertNotNull(builder); assertEquals(style, builder.build()); }
@Test public void testOf() throws Exception { AmountFormatQuery style = AmountFormatQuery.of(Locale.ENGLISH); assertNotNull(style); DecimalFormat df = (DecimalFormat) DecimalFormat.getInstance(Locale.ENGLISH); assertNotNull(df); }