### Question:
StringUtils { public static String wrap(final String str, final int wrapLength) { return wrap(str, wrapLength, null, false); } private  StringUtils(); static boolean isEmpty(final CharSequence cs); static boolean isBlank(final CharSequence cs); static boolean isNotBlank(final CharSequence cs); static String trim(final String str); static String trimToNull(final String str); static String trimToEmpty(final String str); static boolean equals(final String cs1, final String cs2); static String substring(final String str, int start); static String substring(final String str, int start, int end); static String upperCase(final String str); static String lowerCase(final String str); static String capitalize(final String str); static String uncapitalize(final String str); static boolean startsWithIgnoreCase(String str, String prefix); static String repeat(final String str, final int repeat); static String repeat(final char ch, final int repeat); static String rightPad(final String str, final int size); static String rightPad(final String str, final int size, final char padChar); static String rightPad(final String str, final int size, String padStr); static String leftPad(final String str, final int size); static String leftPad(final String str, final int size, final char padChar); static String leftPad(final String str, final int size, String padStr); static String strip(String str, final String stripChars); static String stripEnd(final String str, final String stripChars); static String stripStart(final String str, final String stripChars); static String stripToEmpty(final String str); static String wrap(final String str, final int wrapLength); static String wrap(final String str,
            final int wrapLength,
            final String newLineStr,
            final boolean wrapLongWords); static String wrap(final String str,
            int wrapLength,
            String newLineStr,
            final boolean wrapLongWords,
            String wrapOn); static String escapeJavaString(Object object, String indent); static int levenshteinDistance(CharSequence left, CharSequence right, final int threshold);  }### Answer:
@Test public void wrapsText() { assertThat(StringUtils.wrap("hello, there, bud", 6), equalTo(String.format("hello,%nthere,%nbud"))); }