public void When_BucketDocument_Invalid_Exist_Should_Return_BadRequest(BucketDocument document)
 {
     Scenario.New()
     .When()
     .Performs <HttpRequest>(req => req
                             .Url("bucket")
                             .Method("POST")
                             .Header("Content-Type", "application/json")
                             .OAuth2BearerToken(DefaultUserId)
                             .JsonObjectBody(document))
     .Then()
     .Expects <HttpResponse>(res => res
                             .Status(HttpStatusCode.BadRequest))
     .Run();
 }
 public CreateBucket()
 {
     _bucketDocument = CreateDefault();
 }
 public CreateBucketAction(BucketDocument bucketDocument, int userId)
 {
     _bucketDocument = bucketDocument ?? throw new ArgumentNullException(nameof(bucketDocument));
     _userId         = userId;
 }