CreateEntity implements IsWidget { public void show(final String legend, String placeholder) { clear(); view.show(legend, placeholder); } @Inject  CreateEntity(final ClientUserSystemManager userSystemManager,
                        final View view); @PostConstruct void init(); @Override Widget asWidget(); void show(final String legend,
                     String placeholder); void setErrorState(); String getEntityIdentifier(); void clear(); public View view; }
@Test public void testShow() throws Exception { final String legend = "legend"; final String ph = "placeHolder"; presenter.show(legend, ph); verify(view, times(1)).clear(); verify(view, times(1)).setValidationState(ValidationState.NONE); verify(view, times(1)).show(legend, ph); assertNull(presenter.identifier); }