func (this *PutRetryClientFixture) Setup() { this.fakeClient = newFakeHTTPClientForPutRetry() this.retryClient = NewPutRetryClient(this.fakeClient, retries) this.retryClient.sleeper = clock.StayAwake() this.retryClient.logger = logging.Capture() }
func (this *GetRetryClientFixture) Setup() { this.fakeClient = &FakeHTTPClientForGetRetry{} this.retryClient = NewGetRetryClient(this.fakeClient, retries) this.retryClient.sleeper = clock.StayAwake() this.retryClient.logger = logging.Capture() }