@Test
public void testSerialize_Primitive() {

    JavaBeanDescriptor descriptor;
    descriptor = JavaBeanSerializeUtil.serialize(Integer.MAX_VALUE);
    Assertions.assertTrue(descriptor.isPrimitiveType());
    Assertions.assertEquals(Integer.MAX_VALUE, descriptor.getPrimitiveProperty());
    Date now = new Date();
    descriptor = JavaBeanSerializeUtil.serialize(now);
    Assertions.assertTrue(descriptor.isPrimitiveType());
    Assertions.assertEquals(now, descriptor.getPrimitiveProperty());
}