### Question:
ZoomLevelSelector implements IsWidget { public ZoomLevelSelector setText(final String text) { view.setText(text); return this; } @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();  }### Answer:
@Test public void testSetText() { tested.setText("hiya"); verify(view, times(1)).setText(eq("hiya")); }