AdditionalInfoPage extends BaseDecisionTableColumnPage<T> { void setupUpdateEngineWithChanges() { if (updateEngineWithChangesEnabled && plugin().showUpdateEngineWithChanges()) { view.showUpdateEngineWithChanges(plugin().isUpdateEngine()); } } @Inject  AdditionalInfoPage(final View view,
                              final TranslationService translationService); @Override String getTitle(); @Override void prepareView(); @Override void isComplete(final Callback<Boolean> callback); void enableHideColumn(); void enableLogicallyInsert(); void enableUpdateEngineWithChanges(); void enableHeader(); String getHeader(); void setUpdate(final Boolean update);  }
@Test public void testSetupUpdateEngineWithChangesWhenItIsNotEnabled() throws Exception { page.setupUpdateEngineWithChanges(); verify(view, never()).showUpdateEngineWithChanges(false); }