def METHOD_NAME(create_pivot, test_case):
    """Test calling function with iterable input."""
    func = getattr(getattr(test_case.entity, test_case.provider), test_case.pivot_func)
    # Test value input
    val = test_case.value.keys()
    params = {test_case.func_param: val}
    result_df = func(**params)
    for key, expected in test_case.value.items():
        key_results = result_df[result_df[test_case.key_col] == key]
        if isinstance(expected, dict):
            for exp_value in expected.values():
                if exp_value == "input":
                    exp_value = key
                check.is_in(exp_value, key_results[test_case.exp_col].values)
        else:
            check.is_in(expected, key_results.iloc[0][test_case.exp_col])