public static boolean areCompatible(final SqlArgument actual, final ParamType declared) {
    return areCompatible(actual, declared, false);
  }
@Test
  public void shouldOnlyLookAtInputTypeSizeForCompatibleLambdaTypeAndSqlLambda() {
    assertThat(ParamTypes.areCompatible(
        SqlArgument.of(SqlLambda.of(1)),
        LambdaType.of(ImmutableList.of(ParamTypes.STRING), ParamTypes.STRING),
        false),
        is(true));

    assertThat(ParamTypes.areCompatible(
        SqlArgument.of(SqlLambda.of(2)),
        LambdaType.of(ImmutableList.of(ParamTypes.DOUBLE), ParamTypes.STRING),
        false),
        is(false));
  }