AbstractWorkflowDefinition extends ModelObject { public Map<Integer, String> getSupportedSignals() { return emptyMap(); } protected  AbstractWorkflowDefinition(String type, S initialState, S errorState); protected  AbstractWorkflowDefinition(String type, S initialState, S errorState, WorkflowSettings settings); protected  AbstractWorkflowDefinition(String type, S initialState, S errorState, WorkflowSettings settings,
      Map<String, WorkflowStateMethod> stateMethods); String getName(); void setName(String name); String getDescription(); void setDescription(String description); String getType(); S getInitialState(); S getErrorState(); abstract Set<S> getStates(); Map<String, List<String>> getAllowedTransitions(); Map<String, WorkflowState> getFailureTransitions(); WorkflowSettings getSettings(); WorkflowStateMethod getMethod(String stateName); WorkflowState getState(String state); boolean isStartState(String state); boolean isAllowedNextAction(WorkflowInstance instance, NextAction nextAction); Map<Integer, String> getSupportedSignals();  }
@Test public void getSupportedSignalsReturnsEmptyMap() { assertThat(workflow.getSupportedSignals(), is(emptyMap())); }