public static String wrap(String input, Formatter formatter) throws FormatterException {
    return StringWrapper.wrap(Formatter.MAX_LINE_LENGTH, input, formatter);
  }
@Test
  public void textBlockTrailingWhitespaceUnicodeEscape() throws Exception {
    assumeTrue(Runtime.version().feature() >= 15);
    // We want a unicode escape in the Java source being formatted, so it needs to be escaped
    // in the string literal in this test.
    String input =
        lines(
            "public class T {",
            "  String s =",
            "      \"\"\"",
            "      lorem\\u0020",
            "      ipsum",
            "      \"\"\";",
            "}");
    String expected =
        lines(
            "public class T {",
            "  String s =",
            "      \"\"\"",
            "      lorem\\u0020",
            "      ipsum",
            "      \"\"\";",
            "}");
    String actual = StringWrapper.wrap(100, input, new Formatter());
    assertThat(actual).isEqualTo(expected);
  }