Hello :slightly_smiling_face: How can one mock in...
# dotnet
Hello 🙂 How can one mock in tests the call to GetPolicyDocument? I have tried many things but I have been unable to find a proper way of doing that, my latest try:
Copy code
if (args.Token is "aws:iam/getPolicyDocument:getPolicyDocument")
    return Task.FromResult((object)new Dictionary<string, object>
        ["statements"] = args.Args["statements"],
        ["version"] = args.Args["version"],