@Test
public void getPrimitiveDefaultValue() {

    assertEquals(new Integer(0), ClassUtil.getPrimitiveDefaultValue(int.class));
    assertEquals(new Long(0), ClassUtil.getPrimitiveDefaultValue(long.class));
    assertEquals(new Short((short) 0), ClassUtil.getPrimitiveDefaultValue(short.class));
    assertEquals(new Double(0), ClassUtil.getPrimitiveDefaultValue(double.class));
    assertEquals(new Float(0), ClassUtil.getPrimitiveDefaultValue(float.class));
    assertEquals(new Character('\0'), ClassUtil.getPrimitiveDefaultValue(char.class));
    assertEquals(new Byte((byte) 0), ClassUtil.getPrimitiveDefaultValue(byte.class));
    assertEquals(Boolean.FALSE, ClassUtil.getPrimitiveDefaultValue(boolean.class));
    assertEquals(null, ClassUtil.getPrimitiveDefaultValue(void.class));
    assertEquals(new Integer(0), ClassUtil.getPrimitiveDefaultValue(Integer.class));
    assertEquals(new Long(0), ClassUtil.getPrimitiveDefaultValue(Long.class));
    assertEquals(new Short((short) 0), ClassUtil.getPrimitiveDefaultValue(Short.class));
    assertEquals(new Double(0), ClassUtil.getPrimitiveDefaultValue(Double.class));
    assertEquals(new Float(0), ClassUtil.getPrimitiveDefaultValue(Float.class));
    assertEquals(new Character('\0'), ClassUtil.getPrimitiveDefaultValue(Character.class));
    assertEquals(new Byte((byte) 0), ClassUtil.getPrimitiveDefaultValue(Byte.class));
    assertEquals(Boolean.FALSE, ClassUtil.getPrimitiveDefaultValue(Boolean.class));
    assertEquals(null, ClassUtil.getPrimitiveDefaultValue(Void.class));
    assertEquals(null, ClassUtil.getPrimitiveDefaultValue(String.class));
    assertEquals(null, (Object) ClassUtil.getPrimitiveDefaultValue(long[][].class));
}