public void TestEnableRequesterPays()
    {
        EnableRequesterPaysSample  enableRequesterPaysSample  = new EnableRequesterPaysSample();
        DisableRequesterPaysSample disableRequesterPaysSample = new DisableRequesterPaysSample();
        var bucketName = Guid.NewGuid().ToString();

        // Create bucket
        _fixture.CreateBucket(bucketName);

        // Enable request pay.
        var bucket = enableRequesterPaysSample.EnableRequesterPays(bucketName);

        _fixture.SleepAfterBucketCreateUpdateDelete();
        Assert.True(bucket.Billing?.RequesterPays);

        // Disable request pay.
        disableRequesterPaysSample.DisableRequesterPays(_fixture.ProjectId, bucketName);
        _fixture.SleepAfterBucketCreateUpdateDelete();
    }
    public void TestGetRequesterPaysStatus()
    {
        GetRequesterPaysStatusSample getRequesterPaysStatusSample = new GetRequesterPaysStatusSample();
        EnableRequesterPaysSample    enableRequesterPaysSample    = new EnableRequesterPaysSample();
        DisableRequesterPaysSample   disableRequesterPaysSample   = new DisableRequesterPaysSample();

        // Enable request pay.
        enableRequesterPaysSample.EnableRequesterPays(_fixture.BucketNameGeneric);
        _fixture.SleepAfterBucketCreateUpdateDelete();

        // Get status.
        var status = getRequesterPaysStatusSample.GetRequesterPaysStatus(_fixture.ProjectId, _fixture.BucketNameGeneric);

        Assert.True(status);

        // Disable request pay.
        disableRequesterPaysSample.DisableRequesterPays(_fixture.ProjectId, _fixture.BucketNameGeneric);
        _fixture.SleepAfterBucketCreateUpdateDelete();
    }