@Test
public void testTrailingFormatNotSupportedInBraceFormat() {

  try {
    PARSER.parseBraceFormatTerm(null, 0, "{0:x}", 0, 3, 5);
    fail("expected ParseException");
  } catch (ParseException expected) {
    assertThat(expected.getMessage()).contains("[:x]");
  }
}