// =====================================================================
// Get the model object before removing.
Object itemModelObjectBefore = proxy.getModelObject();
proxy.detach();
// Get the model object after removing.
Object itemModelObjectAfter = proxy.getModelObject();
assertEquals(