@Override
    public void defineParameterType(ParameterType<?> parameterType) {
        parameterTypeRegistry.defineParameterType(parameterType);
    }
@Test
    void should_define_parameter_type() {
        ParameterType<Object> expected = new ParameterType<>(
            "example",
            ".*",
            Object.class,
            (String s) -> null);
        registry.defineParameterType(expected);
        Expression expresion = expressionFactory.createExpression("{example}");
        assertThat(expresion.getRegexp().pattern(), is("^(.*)$"));
    }