@Test public void testAsWidget() { Widget w = mock(Widget.class); when(view.asWidget()).thenReturn(w); assertEquals(w, tested.asWidget()); }
@Override public Widget asWidget() { return view.asWidget(); }
ZoomLevelSelector implements IsWidget { @Override public Widget asWidget() { return view.asWidget(); } }
ZoomLevelSelector implements IsWidget { @Override public Widget asWidget() { return view.asWidget(); } @Inject  ZoomLevelSelector(final View view); }
ZoomLevelSelector implements IsWidget { @Override public Widget asWidget() { return view.asWidget(); } @Inject  ZoomLevelSelector(final View view); @PostConstruct void init(); ZoomLevelSelector onDecreaseLevel(final Command onDecreaseLevel); ZoomLevelSelector onIncreaseLevel(final Command onIncreaseLevel); ZoomLevelSelector onReset(final Command onReset); ZoomLevelSelector setText(final String text); ZoomLevelSelector dropUp(); ZoomLevelSelector add(final String text,
                                 final Command onClick); ZoomLevelSelector clear(); ZoomLevelSelector setEnabled(boolean enabled); @Override Widget asWidget(); @PreDestroy void destroy(); }
ZoomLevelSelector implements IsWidget { @Override public Widget asWidget() { return view.asWidget(); } @Inject  ZoomLevelSelector(final View view); @PostConstruct void init(); ZoomLevelSelector onDecreaseLevel(final Command onDecreaseLevel); ZoomLevelSelector onIncreaseLevel(final Command onIncreaseLevel); ZoomLevelSelector onReset(final Command onReset); ZoomLevelSelector setText(final String text); ZoomLevelSelector dropUp(); ZoomLevelSelector add(final String text,
                                 final Command onClick); ZoomLevelSelector clear(); ZoomLevelSelector setEnabled(boolean enabled); @Override Widget asWidget(); @PreDestroy void destroy();  }