RuleModeller extends Composite implements
        RuleModelEditor { protected void showActionSelector(final Integer position) { final RuleModellerActionSelectorPopup popup = ruleModellerActionSelectorPopup(position, actionPlugins); popup.show(); } RuleModeller(final RuleModel model,
                        final Collection<RuleModellerActionPlugin> actionPlugins,
                        final AsyncPackageDataModelOracle oracle,
                        final ModellerWidgetFactory widgetFactory,
                        final EventBus eventBus,
                        final boolean isReadOnly,
                        final boolean isDSLEnabled);  RuleModeller(final RuleModel model,
                        final AsyncPackageDataModelOracle oracle,
                        final ModellerWidgetFactory widgetFactory,
                        final EventBus eventBus,
                        final boolean isReadOnly);  RuleModeller(final RuleModel model,
                        final Collection<RuleModellerActionPlugin> actionPlugins,
                        final AsyncPackageDataModelOracle oracle,
                        final ModellerWidgetFactory widgetFactory,
                        final RuleModellerConfiguration configuration,
                        final EventBus eventBus,
                        final boolean isReadOnly); void setRuleNamesForPackage(final Collection<String> ruleNames); void initWidget(); boolean showRHS(); boolean lockRHS(); boolean showLHS(); boolean lockLHS(); void refreshWidget(); RuleModel getModel(); Collection<RuleModellerActionPlugin> getActionPlugins(); boolean isVariableNameUsed(String name); AsyncPackageDataModelOracle getDataModelOracle(); ModellerWidgetFactory getWidgetFactory(); RuleModeller getRuleModeller(); Map<String, Object> getServiceInvocationCache(); boolean isTemplate(); Path getPath(); boolean isReadOnly(); boolean isDSLEnabled();  }
@Test public void testShowActionSelector() throws Exception { final Integer position = 123; doReturn(actionSelectorPopup).when(ruleModeller).ruleModellerActionSelectorPopup(eq(position), eq(actionPlugins)); ruleModeller.showActionSelector(position); verify(actionSelectorPopup).show(); }