@Test public void testGetNewOutputClauseNameWithExistingOutputClauses() { final OutputClause outputClause1 = new OutputClause(); dtable.getOutput().add(outputClause1); outputClause1.setName("output"); final OutputClause outputClause2 = new OutputClause(); dtable.getOutput().add(outputClause2); outputClause2.setName(DecisionTableDefaultValueUtilities.getNewOutputClauseName(dtable)); assertThat(outputClause2.getName()).isEqualTo(DecisionTableDefaultValueUtilities.OUTPUT_CLAUSE_PREFIX + "1"); }
public static String getNewOutputClauseName(final DecisionTable dtable) { return OUTPUT_CLAUSE_PREFIX + getMaxUnusedOutputClauseIndex(dtable); }
DecisionTableDefaultValueUtilities { public static String getNewOutputClauseName(final DecisionTable dtable) { return OUTPUT_CLAUSE_PREFIX + getMaxUnusedOutputClauseIndex(dtable); } }
DecisionTableDefaultValueUtilities { public static String getNewOutputClauseName(final DecisionTable dtable) { return OUTPUT_CLAUSE_PREFIX + getMaxUnusedOutputClauseIndex(dtable); }  }
DecisionTableDefaultValueUtilities { public static String getNewOutputClauseName(final DecisionTable dtable) { return OUTPUT_CLAUSE_PREFIX + getMaxUnusedOutputClauseIndex(dtable); }  static String getNewInputClauseName(final DecisionTable dtable); static String getNewOutputClauseName(final DecisionTable dtable); static String getNewRuleAnnotationClauseName(final DecisionTable decisionTable); }
DecisionTableDefaultValueUtilities { public static String getNewOutputClauseName(final DecisionTable dtable) { return OUTPUT_CLAUSE_PREFIX + getMaxUnusedOutputClauseIndex(dtable); }  static String getNewInputClauseName(final DecisionTable dtable); static String getNewOutputClauseName(final DecisionTable dtable); static String getNewRuleAnnotationClauseName(final DecisionTable decisionTable); static final String INPUT_CLAUSE_PREFIX; static final String INPUT_CLAUSE_UNARY_TEST_TEXT; static final String OUTPUT_CLAUSE_PREFIX; static final String OUTPUT_CLAUSE_EXPRESSION_TEXT; static final String RULE_DESCRIPTION; static final String RULE_ANNOTATION_CLAUSE_PREFIX; static final String RULE_ANNOTATION_CLAUSE_EXPRESSION_TEXT; }