@Override
    public ValidationResult validate(RuleBuilderStep step) {
        final RuleFragment ruleFragment = actions.get(step.function());
        FunctionDescriptor<?> functionDescriptor = ruleFragment.descriptor();

        String functionName = functionDescriptor.name();
        if (functionName.equals(SetField.NAME)) {
            return validateSetField(step.parameters());
        }

        return new ValidationResult(false, "");
    }
@Test
    void validateSetFieldFunction() {
        HashMap<String, Object> parameters = new HashMap<>();
        parameters.put(FIELD_PARAM, "valid_new_field");
        RuleBuilderStep validStep = RuleBuilderStep.builder()
                .parameters(parameters)
                .function(SetField.NAME)
                .build();

        ValidationResult result = classUnderTest.validate(validStep);

        assertThat(result.failed()).isFalse();
    }