@Test
public void getString() throws Exception {

    assertEquals(DataUtil.getString(null, ""), "");
    assertEquals(DataUtil.getString(Boolean.TRUE, ""), "true");
    assertEquals(DataUtil.getString(Boolean.FALSE, ""), "false");
    assertEquals(DataUtil.getString("True", ""), "True");
    assertEquals(DataUtil.getString("99", ""), "99");
    assertEquals(DataUtil.getString(" 88 ", ""), " 88 ");
    assertEquals(DataUtil.getString("DDDDD", "   "), "DDDDD");
    assertEquals(DataUtil.getString(new Object(), ""), "");
    assertEquals(DataUtil.getString(888l, ""), "888");
    assertEquals(DataUtil.getString('a', ""), "a");
}