public String assertUpdate() {
if (response instanceof Response.View) {
Response.View view = (Response.View)response;
Phase.View.Dispatch update = (Phase.View.Dispatch)view;
DispatchBridge spi = createDispatch(Phase.VIEW, update.getTarget(), update.getParameters());
Phase.View.Dispatch dispatch = new Phase.View.Dispatch(spi);
return dispatch.with(update.getProperties()).toString();
}
else {
throw AbstractTestCase.failure("Was expecting an update instead of " + response);