@Test
public void testDeserialize_Primitive() {

    JavaBeanDescriptor descriptor = new JavaBeanDescriptor(long.class.getName(), JavaBeanDescriptor.TYPE_PRIMITIVE);
    descriptor.setPrimitiveProperty(Long.MAX_VALUE);
    Assertions.assertEquals(Long.MAX_VALUE, JavaBeanSerializeUtil.deserialize(descriptor));
    BigDecimal decimal = BigDecimal.TEN;
    Assertions.assertEquals(Long.MAX_VALUE, descriptor.setPrimitiveProperty(decimal));
    Assertions.assertEquals(decimal, JavaBeanSerializeUtil.deserialize(descriptor));
    String string = UUID.randomUUID().toString();
    Assertions.assertEquals(decimal, descriptor.setPrimitiveProperty(string));
    Assertions.assertEquals(string, JavaBeanSerializeUtil.deserialize(descriptor));
}