@Test public void testSetSelected() throws Exception { kSessionSelectorView.setSelected("kbaseName", "ksessionName"); verify(kSessionSelectorView).onSelectionChange(); }
@Override public void setSelected(final String kbase, final String ksession) { kbaseSelect.setValue(kbase); ksessionSelect.setValue(ksession); onSelectionChange(); }
KSessionSelectorViewImpl implements KSessionSelectorView { @Override public void setSelected(final String kbase, final String ksession) { kbaseSelect.setValue(kbase); ksessionSelect.setValue(ksession); onSelectionChange(); } }
KSessionSelectorViewImpl implements KSessionSelectorView { @Override public void setSelected(final String kbase, final String ksession) { kbaseSelect.setValue(kbase); ksessionSelect.setValue(ksession); onSelectionChange(); } KSessionSelectorViewImpl(); @Inject  KSessionSelectorViewImpl(final HTMLDocument document,
                                    final KieSelectElement kbaseSelect,
                                    final KieSelectElement ksessionSelect,
                                    final HTMLLabelElement warningLabel); }
KSessionSelectorViewImpl implements KSessionSelectorView { @Override public void setSelected(final String kbase, final String ksession) { kbaseSelect.setValue(kbase); ksessionSelect.setValue(ksession); onSelectionChange(); } KSessionSelectorViewImpl(); @Inject  KSessionSelectorViewImpl(final HTMLDocument document,
                                    final KieSelectElement kbaseSelect,
                                    final KieSelectElement ksessionSelect,
                                    final HTMLLabelElement warningLabel); @Override void setPresenter(final KSessionSelector presenter); @Override void setSelected(final String kbase,
                            final String ksession); @Override void addKBases(final String... names); @Override void setKSessions(final List<String> ksessions); @Override void showWarningSelectedKSessionDoesNotExist(); @Override String getSelectedKSessionName(); }
KSessionSelectorViewImpl implements KSessionSelectorView { @Override public void setSelected(final String kbase, final String ksession) { kbaseSelect.setValue(kbase); ksessionSelect.setValue(ksession); onSelectionChange(); } KSessionSelectorViewImpl(); @Inject  KSessionSelectorViewImpl(final HTMLDocument document,
                                    final KieSelectElement kbaseSelect,
                                    final KieSelectElement ksessionSelect,
                                    final HTMLLabelElement warningLabel); @Override void setPresenter(final KSessionSelector presenter); @Override void setSelected(final String kbase,
                            final String ksession); @Override void addKBases(final String... names); @Override void setKSessions(final List<String> ksessions); @Override void showWarningSelectedKSessionDoesNotExist(); @Override String getSelectedKSessionName();  }