public void ModifyRequest_DefaultOptions() { var request = new GetIamPolicyRequest(null, "bucket"); var options = new GetBucketIamPolicyOptions(); options.ModifyRequest(request); Assert.Null(request.UserProject); }
public void ModifyRequest_AllOptions() { var request = new GetIamPolicyRequest(null, "bucket"); var options = new GetBucketIamPolicyOptions { UserProject = "proj" }; options.ModifyRequest(request); Assert.Equal("proj", request.UserProject); }