public static AggregateFunctionInitArguments createAggregateFunctionInitArgs(
          final int numInitArgs,
          final FunctionCall functionCall
  ) {
    return createAggregateFunctionInitArgs(
            numInitArgs,
            Collections.emptyList(),
            functionCall,
            KsqlConfig.empty()
    );
  }
@Test
  public void shouldNotThrowIfSecondParamIsColArgAndIsNotALiteral() {
    // Given:
    when(functionCall.getArguments()).thenReturn(ImmutableList.of(
            new UnqualifiedColumnReferenceExp(ColumnName.of("Bob")),
            new UnqualifiedColumnReferenceExp(ColumnName.of("Col2")),
            new StringLiteral("No issue here")
    ));

    // When:
    UdafUtil.createAggregateFunctionInitArgs(
            Math.max(0, functionCall.getArguments().size() - 2),
            Arrays.asList(0, 1),
            functionCall,
            KsqlConfig.empty()
    );

    // Then: did not throw.
  }