@Test public void testSelectWorkItem() { final String workItem = "workItem"; when(view.getSelectedWorkItem()).thenReturn(workItem); page.selectWorkItem(view.getSelectedWorkItem()); verify(plugin).setWorkItem(workItem); verify(page).showParameters(); }
void selectWorkItem(final String selectedWorkItem) { plugin().setWorkItem(selectedWorkItem); showParameters(); }
WorkItemPage extends BaseDecisionTableColumnPage<T> { void selectWorkItem(final String selectedWorkItem) { plugin().setWorkItem(selectedWorkItem); showParameters(); } }
WorkItemPage extends BaseDecisionTableColumnPage<T> { void selectWorkItem(final String selectedWorkItem) { plugin().setWorkItem(selectedWorkItem); showParameters(); } @Inject  WorkItemPage(final View view,
                        final TranslationService translationService); }
WorkItemPage extends BaseDecisionTableColumnPage<T> { void selectWorkItem(final String selectedWorkItem) { plugin().setWorkItem(selectedWorkItem); showParameters(); } @Inject  WorkItemPage(final View view,
                        final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); void enableParameters(); }
WorkItemPage extends BaseDecisionTableColumnPage<T> { void selectWorkItem(final String selectedWorkItem) { plugin().setWorkItem(selectedWorkItem); showParameters(); } @Inject  WorkItemPage(final View view,
                        final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); void enableParameters();  }