@Test
public void throwsOnInvalidParameters() {

    assertThatExceptionOfType(PlaceholderFunctionSignatureInvalidException.class).isThrownBy(() ->
        function.apply(KNOWN_INPUT, "()", expressionResolver)
    );
    assertThatExceptionOfType(PlaceholderFunctionSignatureInvalidException.class).isThrownBy(() ->
        function.apply(KNOWN_INPUT, "(thing:id)", expressionResolver)
    );
    assertThatExceptionOfType(PlaceholderFunctionSignatureInvalidException.class).isThrownBy(() ->
        function.apply(KNOWN_INPUT, "", expressionResolver)
    );
}