internal void GivenIHaveARequest()
        {
            var arg       = Guid.NewGuid().ToString("N");
            var method    = Guid.NewGuid().ToString("N");
            var requestId = Guid.NewGuid().ToString("N");
            var resource  = Guid.NewGuid().ToString("N");

            this.slobsRequest = SlobsRequestBuilder.NewRequest().AddArgs(arg).SetMethod(method).SetRequestId(requestId).SetResource(resource).BuildRequest();
        }
        internal void GivenIHaveMultipleRequests(int numberOfRequests)
        {
            for (var i = 0; i < numberOfRequests; i++)
            {
                var arg          = Guid.NewGuid().ToString("N");
                var method       = Guid.NewGuid().ToString("N");
                var requestId    = Guid.NewGuid().ToString("N");
                var resource     = Guid.NewGuid().ToString("N");
                var slobsRequest = SlobsRequestBuilder.NewRequest().AddArgs(arg).SetMethod(method).SetRequestId(requestId).SetResource(resource).BuildRequest();

                this.slobsRequests.Add(slobsRequest);
            }

            this.slobsRequestsArray = this.slobsRequests.ToArray();
        }
Exemple #3
0
 internal void GivenIHaveASlobsRequestBuilder()
 {
     this.slobsRequestBuilder = SlobsRequestBuilder.NewRequest();
 }