void (ExtensionContext context) { ConditionEvaluationResult evaluated = evaluateExecutionCondition(context); if (evaluated.isDisabled()) { //noinspection OptionalGetWithoutIsPresent String reason = evaluated.getReason().get(); throw new AssumptionViolatedException(reason); } }