private void checkTestResultsIn(TestOutcomes testOutcomes) { switch (testOutcomes.getResult()) { case ERROR: throw new TestOutcomesError(testOutcomeSummary(testOutcomes)); case FAILURE: throw new TestOutcomesFailures(testOutcomeSummary(testOutcomes)); } }
private void checkTestResultsIn(TestOutcomes testOutcomes) { switch (testOutcomes.getResult()) { case ERROR: throw new TestOutcomesError(testOutcomeSummary(testOutcomes)); case FAILURE: throw new TestOutcomesFailures(testOutcomeSummary(testOutcomes)); } }