public static String toJavaCode(
      final String argName,
      final Class<?> argType,
      final String lambdaBody
  ) {
    return toJavaCode(ImmutableList.of(new Pair<>(argName, argType)), lambdaBody);
  }
@Test(expected= KsqlException.class)
  public void shouldThrowOnNonSupportedArguments() {
    // Given:
    final Pair<String, Class<?>> argName1 = new Pair<>("fred", Long.class);
    final Pair<String, Class<?>> argName2 = new Pair<>("bob", Long.class);
    final Pair<String, Class<?>> argName3 = new Pair<>("tim", Long.class);
    final Pair<String, Class<?>> argName4 = new Pair<>("hello", Long.class);

    final List<Pair<String, Class<?>>> argList = ImmutableList.of(argName1, argName2, argName3, argName4);

    // When:
    LambdaUtil.toJavaCode(argList, "fred + bob + tim + hello + 1");
  }