@Test
public void shortenFilenameBytesLength() {

    String shorter = shortenFilenameBytesLength(largeFilename);
    assertThat(shorter, endsWith("aวaวa.pdf"));
    assertThat(shorter, startsWith("aวaว"));
    assertThat(shorter.getBytes(StandardCharsets.UTF_8).length, is(253));
}