@Test
public void testSetupWidget() throws Exception {

    widget.setupWidget();
    verify(widget).setText(GuidedDecisionTableConstants.INSTANCE.Delete());
    verify(widget).setTitle(GuidedDecisionTableConstants.INSTANCE.DeleteThisColumn());
    verify(widget).addClickHandler(clickCaptor.capture());
    clickCaptor.getValue().onClick(null);
    verify(deletePopUpPresenter).setPrompt(GuidedDecisionTableConstants.INSTANCE.DeleteColumnWarning(COLUMN_HEADER));
    verify(deletePopUpPresenter).setCommentIsHidden(true);
    verify(deletePopUpPresenter).show(commandCaptor.capture());
    commandCaptor.getValue().execute(null);
    verify(deleteCommand).execute();
}