### Question:
TagWidget implements IsWidget { public void setContent( Metadata d, boolean readOnly ) { this.data = d; this.readOnly = readOnly; view.setReadOnly(readOnly); loadData(); }  @Inject void setView( TagWidgetView view ); void setContent( Metadata d,
                            boolean readOnly ); void onAddTags( String text ); void onRemoveTag( String tag ); void loadData( ); @Override Widget asWidget();  }### Answer:
@Test public void testSimple() throws Exception { presenter.setContent( metadata, false ); verify( view ).clear(); verify( view, never() ).addTag( anyString(), anyBoolean() ); }