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

    // When:
    AggregateFunctionInitArguments initArgs = UdafUtil.createAggregateFunctionInitArgs(
            1,
            functionCall
    );

    // Then:
    assertEquals(0, initArgs.udafIndices().size());
    assertEquals(1, initArgs.args().size());
    assertEquals("No issue here", initArgs.arg(0));
    assertTrue(initArgs.config().isEmpty());
  }