PropUtil.setValue(p0, "int24Value",
new int24(int24.MIN_24));
PropUtil.setValue(p0, "intxValue",
new intx(intx.MIN_62));
PropUtil.setValue(p0, "uintxValue",
new uintx(uintx.MAX_62));
Assert.assertEquals(Boolean.TRUE,
PropUtil.getValue(p0, "booleanValue"));
Assert.assertEquals((byte )-1,
PropUtil.getValue(p0, "byteValue"));
Assert.assertEquals('c',
PropUtil.getValue(p0, "charValue"));
Assert.assertEquals((short )-1,
PropUtil.getValue(p0, "shortValue"));
Assert.assertEquals(-1,
PropUtil.getValue(p0, "intValue"));
Assert.assertEquals(-1L,
PropUtil.getValue(p0, "longValue"));
Assert.assertEquals(-1.0f,
PropUtil.getValue(p0, "floatValue"));
Assert.assertEquals(-1.0,
PropUtil.getValue(p0, "doubleValue"));
Assert.assertEquals(new int24(int24.MIN_24),
PropUtil.getValue(p0, "int24Value"));
Assert.assertEquals(new intx(intx.MIN_62),
PropUtil.getValue(p0, "intxValue"));
Assert.assertEquals(new uintx(uintx.MAX_62),
PropUtil.getValue(p0, "uintxValue"));
ByteArrayOutputStream baos = new ByteArrayOutputStream();
PmOutputStream pos = new PmOutputStream(baos);
pos.writeModel(p0);