@Test
public void onApplyButtonClicked() {

    errorReportPopupView.onApplyButtonClicked(mock(ClickEvent.class));
    verify(applyCommandMock, times(1)).execute();
    verify(errorReportPopupView, times(1)).hide();
}