@Test
public void toStringWithNullAsEmpty() throws Exception {

    Assert.assertEquals("", StringUtil.toStringWithNullAsEmpty(null));
    Assert.assertEquals("", StringUtil.toStringWithNullAsEmpty(""));
    Assert.assertEquals("ABC", StringUtil.toStringWithNullAsEmpty(new StringBuilder("ABC")));
}