assertEquals(PropertyType.DECIMAL, value.getType());
assertEquals(value, factory.createValue(a));
try { value.getBoolean(); fail(); } catch (ValueFormatException e) {}
assertEquals(a.longValue(), value.getDate().getTimeInMillis());
assertEquals(a, value.getDecimal());
assertEquals(a.doubleValue(), value.getDouble());
assertEquals(a.longValue(), value.getLong());
assertEquals(a.toString(), value.getString());