@Test
public void testGetDBTypeForClass() throws Exception {

    Assert.assertEquals("INTEGER", DBUtils.getDBTypeForClass(Integer.class));
    Assert.assertEquals("INTEGER", DBUtils.getDBTypeForClass(Long.class));
    Assert.assertEquals("INTEGER", DBUtils.getDBTypeForClass(Short.class));
    Assert.assertEquals("INTEGER", DBUtils.getDBTypeForClass(Boolean.class));
    Assert.assertEquals("REAL", DBUtils.getDBTypeForClass(Float.class));
    Assert.assertEquals("REAL", DBUtils.getDBTypeForClass(Double.class));
    Assert.assertEquals("TEXT", DBUtils.getDBTypeForClass(String.class));
    Assert.assertEquals("TEXT", DBUtils.getDBTypeForClass(CharSequence.class));
    Assert.assertEquals("TEXT", DBUtils.getDBTypeForClass(BigDecimal.class));
    Assert.assertEquals("INTEGER", DBUtils.getDBTypeForClass(java.util.Date.class));
    Assert.assertEquals("INTEGER", DBUtils.getDBTypeForClass(java.sql.Date.class));
    Assert.assertEquals("INTEGER", DBUtils.getDBTypeForClass(Time.class));
    Assert.assertEquals("INTEGER", DBUtils.getDBTypeForClass(Timestamp.class));
    Assert.assertEquals("BLOB", DBUtils.getDBTypeForClass(byte[].class));
}