@Test
public void truncateShouldReturnEmptyStringForMaximumLengthOfZero() {

    String str = "This is the string with some text";
    assertThat(StringUtil.truncate(str, 0), is(""));
    assertThat(StringUtil.truncate("", 0), is(""));
    assertThat(StringUtil.truncate(str, 0, "123"), is(""));
    assertThat(StringUtil.truncate("", 0, "123"), is(""));
}