@Test
public void wrapping_Lines_Without_Word_Break() throws TaskIOException {

    PDDocument doc = new PDDocument();
    List<String> lines = FontUtils.wrapLines(
            "This_is_a_long_line_that_cannot_fit_on_a_single_line_and_could_be_wrapped", HELVETICA, 10, 191, doc);
    assertThat(lines,
            is(Arrays.asList("This_is_a_long_line_that_cannot_fit_on_a-", "_single_line_and_could_be_wrapped")));
}