### Question:
CurrencyToken implements FormatToken { @Override public String toString() { return "CurrencyToken [locale=" + locale + ", style=" + style + ']'; } CurrencyToken(CurrencyStyle style, AmountFormatContext context); CurrencyToken setCurrencyStyle(CurrencyStyle style); CurrencyStyle getCurrencyStyle(); @Override void parse(ParseContext context); @Override void print(Appendable appendable, MonetaryAmount amount); @Override String toString();  }### Answer:
@Test public void testToString() { CurrencyToken token = new CurrencyToken(CODE, AmountFormatContextBuilder.of(FRANCE).build()); assertEquals(token.toString(), "CurrencyToken [locale=fr_FR, style=CODE]"); }