@Test
void truncate() {

    assertThat(Strings.truncate(null, 10)).isNull();
    assertThat(Strings.truncate("value", 10)).isEqualTo("value");
    assertThat(Strings.truncate("123456789012345", 10)).isEqualTo("1234567890");
}