@Test
public void singleResolverThrowsExceptionOnMultipleParameters() {

    final PipelineFunctionParameterResolverFactory.SingleParameterResolver parameterResolver =
            PipelineFunctionParameterResolverFactory.forStringOrPlaceholderParameter();
    final String paramsDoubleQuoted = "(\"" + KNOWN_VALUE + "\", \"otherValue\")";
    final String paramsSingleQuoted = "(\'" + KNOWN_VALUE + "\', \'otherValue\')";
    final String paramsPlaceholders = "(" + KNOWN_PLACEHOLDER + ", topic:full)";
    assertThatExceptionOfType(PlaceholderFunctionSignatureInvalidException.class)
            .isThrownBy(() -> parameterResolver.apply(paramsDoubleQuoted, expressionResolver, DUMMY));
    assertThatExceptionOfType(PlaceholderFunctionSignatureInvalidException.class)
            .isThrownBy(() -> parameterResolver.apply(paramsSingleQuoted, expressionResolver, DUMMY));
    assertThatExceptionOfType(PlaceholderFunctionSignatureInvalidException.class)
            .isThrownBy(() -> parameterResolver.apply(paramsPlaceholders, expressionResolver, DUMMY));
    verifyNoInteractions(expressionResolver);
}