### Question:
AmountNumberToken implements FormatToken { @Override public String toString() { Locale locale = amountFormatContext.getLocale(); return "AmountNumberToken [locale=" + locale + ", partialNumberPattern=" + partialNumberPattern + ']'; } AmountNumberToken(AmountFormatContext amountFormatContext, String partialNumberPattern); AmountFormatContext getAmountFormatContext(); String getNumberPattern(); @Override void print(Appendable appendable, MonetaryAmount amount); @Override void parse(ParseContext context); @Override String toString();  }### Answer:
@Test public void testToString_US() { AmountNumberToken token = new AmountNumberToken(contextForLocale(US, null), PATTERN); assertEquals(token.toString(), "AmountNumberToken [locale=en_US, partialNumberPattern=#,##0.00 ]"); }