protected static void throwsBestMultipleAssertionsError(List<Throwable> errors) { tryThrowingMultipleFailuresError(errors); throw new SoftAssertionError(describeErrors(errors)); }
public AssertionError multipleSoftAssertionsError(List<? extends Throwable> errors) { Optional<AssertionError> multipleFailuresError = tryBuildingMultipleFailuresError(errors); return multipleFailuresError.orElse(new SoftAssertionError(describeErrors(errors))); }