ERXRestFormat.json().parse("{\"name\":\"Company Updated\",\"revenue\":100}]}").updateObjectWithFilter(c, ERXKeyFilter.filterWithAll(), new ERXRestContext(editingContext));
assertEquals("Company Updated", c.name());
assertEquals(100.0, c.revenue().doubleValue());
}
finally {
editingContext.unlock();
editingContext.dispose();
}
}
public void testUpdateAndCreateRelatedEO() {