private TestOutcome scenarioOutcomeFor( String normalizedMethodName, TestOutcome testOutcome, Map<String, TestOutcome> scenarioOutcomes) { if (!scenarioOutcomes.containsKey(normalizedMethodName)) { TestOutcome scenarioOutcome = createScenarioOutcome(testOutcome); scenarioOutcomes.put(normalizedMethodName, scenarioOutcome); } return scenarioOutcomes.get(normalizedMethodName); }