final ObjectAdapter object = system.createPersistentTestObject();
final String id = context.mapObject(object);
// change version on the object being passed back
object.setOptimisticLock(new TestProxyVersion(5));
context.getMappedObject(id);
assertEquals("Reloaded object " + object.titleString(), context.getMessage(1));
}
public void testIdentityUsedToLookupAction() {
final ObjectActionNoop action = new ObjectActionNoop();
final String id = context.mapAction(action);