public void rpcCall() {
// Arrange
success = false;
MyObject object = new MyObject("my field initialized during test setup");
MyServiceAsync myService = GWT.create(MyService.class);
// Act
myService.update(object, new AsyncCallback<MyObject>() {
public void onFailure(Throwable caught) {
fail("onFailure should not be called");
}