static <T> Truncate<T> get(int width) {
    Preconditions.checkArgument(width > 0, "Invalid truncate width: %s (must be > 0)", width);
    return new Truncate<>(width);
  }
@Test
  public void testVerifiedIllegalWidth() {
    assertThatThrownBy(() -> Truncate.get(0))
        .isInstanceOf(IllegalArgumentException.class)
        .hasMessage("Invalid truncate width: 0 (must be > 0)");
  }