delayTestFinish(REQUEST_TIMEOUT);
}
public void testUpdate() {
UsersRestService service = GWT.create(UsersRestService.class);
((RestServiceProxy)service).setDispatcher(new DispatcherFactory().xsrfProtectionDispatcher());
final User user = newUser();
user.id = persistentUser.id;
service.update(user, expectResult(persistentUser));
delayTestFinish(REQUEST_TIMEOUT);
}