### Question:
LiteralToken implements FormatToken, Serializable { @Override public String toString() { return "LiteralToken [token=" + token + ']'; } LiteralToken(String token); @Override void parse(ParseContext context); @Override void print(Appendable appendable, MonetaryAmount amount); @Override String toString();  }### Answer:
@Test public void testToString() { LiteralToken token = new LiteralToken(" some text "); assertEquals(token.toString(), "LiteralToken [token= some text ]"); }