}
public void testDecimalPK() throws Exception {
// populate (testing insert as well)
DecimalPKTestEntity object = context
.newObject(DecimalPKTestEntity.class);
object.setName("o1");
object.setDecimalPK(new BigDecimal("1.25"));
context.commitChanges();
Map map = Collections.singletonMap("DECIMAL_PK", new BigDecimal("1.25"));
ObjectId syntheticId = new ObjectId("DecimalPKTestEntity", map);
assertSame(object, context.localObject(syntheticId, null));