  @Test
  @SuppressWarnings("unchecked")
  public void testMockRpcs() {

    doAnswer(returnSuccess("some data")).when(myService).getData(any(AsyncCallback.class));
    widget.loadDataFromRpc();
    verify(widget.data).setText("some data");
  }