@Test public void shouldReturnContext() { AmountFormatContext context = format.getContext(); assertEquals(MonetaryAmountDecimalFormat.STYLE, context.getFormatName()); }
@Override public AmountFormatContext getContext() { return CONTEXT; }
MonetaryAmountDecimalFormat implements MonetaryAmountFormat { @Override public AmountFormatContext getContext() { return CONTEXT; } }
MonetaryAmountDecimalFormat implements MonetaryAmountFormat { @Override public AmountFormatContext getContext() { return CONTEXT; } MonetaryAmountDecimalFormat(DecimalFormat decimalFormat, MonetaryAmountProducer producer, CurrencyUnit currencyUnit); }
MonetaryAmountDecimalFormat implements MonetaryAmountFormat { @Override public AmountFormatContext getContext() { return CONTEXT; } MonetaryAmountDecimalFormat(DecimalFormat decimalFormat, MonetaryAmountProducer producer, CurrencyUnit currencyUnit); static MonetaryAmountFormat of(); String toLocalizedPattern(); String toPattern(); @Override AmountFormatContext getContext(); @Override void print(Appendable appendable, MonetaryAmount amount); @Override MonetaryAmount parse(CharSequence text); @Override String queryFrom(MonetaryAmount amount); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
MonetaryAmountDecimalFormat implements MonetaryAmountFormat { @Override public AmountFormatContext getContext() { return CONTEXT; } MonetaryAmountDecimalFormat(DecimalFormat decimalFormat, MonetaryAmountProducer producer, CurrencyUnit currencyUnit); static MonetaryAmountFormat of(); String toLocalizedPattern(); String toPattern(); @Override AmountFormatContext getContext(); @Override void print(Appendable appendable, MonetaryAmount amount); @Override MonetaryAmount parse(CharSequence text); @Override String queryFrom(MonetaryAmount amount); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }