public static FunctionDetails convert(FunctionConfig functionConfig) {
        return convert(functionConfig, (ValidatableFunctionPackage) null);
    }
@Test
    public void testAutoAckConvertFailed() {

        FunctionConfig functionConfig = new FunctionConfig();
        functionConfig.setAutoAck(false);
        functionConfig.setProcessingGuarantees(FunctionConfig.ProcessingGuarantees.ATMOST_ONCE);

        assertThrows(IllegalArgumentException.class, () -> {
            FunctionConfigUtils.convert(functionConfig);
        });
    }