@Test
public void testAppendPrintfOptions() {

  StringBuilder out = new StringBuilder();
  FormatOptions options = parse("+-( #0,123.456", false);
  options.appendPrintfOptions(out);
  assertThat(out.toString()).isEqualTo(" #(+,-0123.456");
}