github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/api/uaa/wrapper/wrapperfakes/fake_request_logger_output.go (about)

     1  // Code generated by counterfeiter. DO NOT EDIT.
     2  package wrapperfakes
     3  
     4  import (
     5  	"sync"
     6  	"time"
     7  
     8  	"code.cloudfoundry.org/cli/api/uaa/wrapper"
     9  )
    10  
    11  type FakeRequestLoggerOutput struct {
    12  	DisplayBodyStub        func(body []byte) error
    13  	displayBodyMutex       sync.RWMutex
    14  	displayBodyArgsForCall []struct {
    15  		body []byte
    16  	}
    17  	displayBodyReturns struct {
    18  		result1 error
    19  	}
    20  	displayBodyReturnsOnCall map[int]struct {
    21  		result1 error
    22  	}
    23  	DisplayJSONBodyStub        func(body []byte) error
    24  	displayJSONBodyMutex       sync.RWMutex
    25  	displayJSONBodyArgsForCall []struct {
    26  		body []byte
    27  	}
    28  	displayJSONBodyReturns struct {
    29  		result1 error
    30  	}
    31  	displayJSONBodyReturnsOnCall map[int]struct {
    32  		result1 error
    33  	}
    34  	DisplayHeaderStub        func(name string, value string) error
    35  	displayHeaderMutex       sync.RWMutex
    36  	displayHeaderArgsForCall []struct {
    37  		name  string
    38  		value string
    39  	}
    40  	displayHeaderReturns struct {
    41  		result1 error
    42  	}
    43  	displayHeaderReturnsOnCall map[int]struct {
    44  		result1 error
    45  	}
    46  	DisplayHostStub        func(name string) error
    47  	displayHostMutex       sync.RWMutex
    48  	displayHostArgsForCall []struct {
    49  		name string
    50  	}
    51  	displayHostReturns struct {
    52  		result1 error
    53  	}
    54  	displayHostReturnsOnCall map[int]struct {
    55  		result1 error
    56  	}
    57  	DisplayRequestHeaderStub        func(method string, uri string, httpProtocol string) error
    58  	displayRequestHeaderMutex       sync.RWMutex
    59  	displayRequestHeaderArgsForCall []struct {
    60  		method       string
    61  		uri          string
    62  		httpProtocol string
    63  	}
    64  	displayRequestHeaderReturns struct {
    65  		result1 error
    66  	}
    67  	displayRequestHeaderReturnsOnCall map[int]struct {
    68  		result1 error
    69  	}
    70  	DisplayResponseHeaderStub        func(httpProtocol string, status string) error
    71  	displayResponseHeaderMutex       sync.RWMutex
    72  	displayResponseHeaderArgsForCall []struct {
    73  		httpProtocol string
    74  		status       string
    75  	}
    76  	displayResponseHeaderReturns struct {
    77  		result1 error
    78  	}
    79  	displayResponseHeaderReturnsOnCall map[int]struct {
    80  		result1 error
    81  	}
    82  	DisplayTypeStub        func(name string, requestDate time.Time) error
    83  	displayTypeMutex       sync.RWMutex
    84  	displayTypeArgsForCall []struct {
    85  		name        string
    86  		requestDate time.Time
    87  	}
    88  	displayTypeReturns struct {
    89  		result1 error
    90  	}
    91  	displayTypeReturnsOnCall map[int]struct {
    92  		result1 error
    93  	}
    94  	HandleInternalErrorStub        func(err error)
    95  	handleInternalErrorMutex       sync.RWMutex
    96  	handleInternalErrorArgsForCall []struct {
    97  		err error
    98  	}
    99  	StartStub        func() error
   100  	startMutex       sync.RWMutex
   101  	startArgsForCall []struct{}
   102  	startReturns     struct {
   103  		result1 error
   104  	}
   105  	startReturnsOnCall map[int]struct {
   106  		result1 error
   107  	}
   108  	StopStub        func() error
   109  	stopMutex       sync.RWMutex
   110  	stopArgsForCall []struct{}
   111  	stopReturns     struct {
   112  		result1 error
   113  	}
   114  	stopReturnsOnCall map[int]struct {
   115  		result1 error
   116  	}
   117  	invocations      map[string][][]interface{}
   118  	invocationsMutex sync.RWMutex
   119  }
   120  
   121  func (fake *FakeRequestLoggerOutput) DisplayBody(body []byte) error {
   122  	var bodyCopy []byte
   123  	if body != nil {
   124  		bodyCopy = make([]byte, len(body))
   125  		copy(bodyCopy, body)
   126  	}
   127  	fake.displayBodyMutex.Lock()
   128  	ret, specificReturn := fake.displayBodyReturnsOnCall[len(fake.displayBodyArgsForCall)]
   129  	fake.displayBodyArgsForCall = append(fake.displayBodyArgsForCall, struct {
   130  		body []byte
   131  	}{bodyCopy})
   132  	fake.recordInvocation("DisplayBody", []interface{}{bodyCopy})
   133  	fake.displayBodyMutex.Unlock()
   134  	if fake.DisplayBodyStub != nil {
   135  		return fake.DisplayBodyStub(body)
   136  	}
   137  	if specificReturn {
   138  		return ret.result1
   139  	}
   140  	return fake.displayBodyReturns.result1
   141  }
   142  
   143  func (fake *FakeRequestLoggerOutput) DisplayBodyCallCount() int {
   144  	fake.displayBodyMutex.RLock()
   145  	defer fake.displayBodyMutex.RUnlock()
   146  	return len(fake.displayBodyArgsForCall)
   147  }
   148  
   149  func (fake *FakeRequestLoggerOutput) DisplayBodyArgsForCall(i int) []byte {
   150  	fake.displayBodyMutex.RLock()
   151  	defer fake.displayBodyMutex.RUnlock()
   152  	return fake.displayBodyArgsForCall[i].body
   153  }
   154  
   155  func (fake *FakeRequestLoggerOutput) DisplayBodyReturns(result1 error) {
   156  	fake.DisplayBodyStub = nil
   157  	fake.displayBodyReturns = struct {
   158  		result1 error
   159  	}{result1}
   160  }
   161  
   162  func (fake *FakeRequestLoggerOutput) DisplayBodyReturnsOnCall(i int, result1 error) {
   163  	fake.DisplayBodyStub = nil
   164  	if fake.displayBodyReturnsOnCall == nil {
   165  		fake.displayBodyReturnsOnCall = make(map[int]struct {
   166  			result1 error
   167  		})
   168  	}
   169  	fake.displayBodyReturnsOnCall[i] = struct {
   170  		result1 error
   171  	}{result1}
   172  }
   173  
   174  func (fake *FakeRequestLoggerOutput) DisplayJSONBody(body []byte) error {
   175  	var bodyCopy []byte
   176  	if body != nil {
   177  		bodyCopy = make([]byte, len(body))
   178  		copy(bodyCopy, body)
   179  	}
   180  	fake.displayJSONBodyMutex.Lock()
   181  	ret, specificReturn := fake.displayJSONBodyReturnsOnCall[len(fake.displayJSONBodyArgsForCall)]
   182  	fake.displayJSONBodyArgsForCall = append(fake.displayJSONBodyArgsForCall, struct {
   183  		body []byte
   184  	}{bodyCopy})
   185  	fake.recordInvocation("DisplayJSONBody", []interface{}{bodyCopy})
   186  	fake.displayJSONBodyMutex.Unlock()
   187  	if fake.DisplayJSONBodyStub != nil {
   188  		return fake.DisplayJSONBodyStub(body)
   189  	}
   190  	if specificReturn {
   191  		return ret.result1
   192  	}
   193  	return fake.displayJSONBodyReturns.result1
   194  }
   195  
   196  func (fake *FakeRequestLoggerOutput) DisplayJSONBodyCallCount() int {
   197  	fake.displayJSONBodyMutex.RLock()
   198  	defer fake.displayJSONBodyMutex.RUnlock()
   199  	return len(fake.displayJSONBodyArgsForCall)
   200  }
   201  
   202  func (fake *FakeRequestLoggerOutput) DisplayJSONBodyArgsForCall(i int) []byte {
   203  	fake.displayJSONBodyMutex.RLock()
   204  	defer fake.displayJSONBodyMutex.RUnlock()
   205  	return fake.displayJSONBodyArgsForCall[i].body
   206  }
   207  
   208  func (fake *FakeRequestLoggerOutput) DisplayJSONBodyReturns(result1 error) {
   209  	fake.DisplayJSONBodyStub = nil
   210  	fake.displayJSONBodyReturns = struct {
   211  		result1 error
   212  	}{result1}
   213  }
   214  
   215  func (fake *FakeRequestLoggerOutput) DisplayJSONBodyReturnsOnCall(i int, result1 error) {
   216  	fake.DisplayJSONBodyStub = nil
   217  	if fake.displayJSONBodyReturnsOnCall == nil {
   218  		fake.displayJSONBodyReturnsOnCall = make(map[int]struct {
   219  			result1 error
   220  		})
   221  	}
   222  	fake.displayJSONBodyReturnsOnCall[i] = struct {
   223  		result1 error
   224  	}{result1}
   225  }
   226  
   227  func (fake *FakeRequestLoggerOutput) DisplayHeader(name string, value string) error {
   228  	fake.displayHeaderMutex.Lock()
   229  	ret, specificReturn := fake.displayHeaderReturnsOnCall[len(fake.displayHeaderArgsForCall)]
   230  	fake.displayHeaderArgsForCall = append(fake.displayHeaderArgsForCall, struct {
   231  		name  string
   232  		value string
   233  	}{name, value})
   234  	fake.recordInvocation("DisplayHeader", []interface{}{name, value})
   235  	fake.displayHeaderMutex.Unlock()
   236  	if fake.DisplayHeaderStub != nil {
   237  		return fake.DisplayHeaderStub(name, value)
   238  	}
   239  	if specificReturn {
   240  		return ret.result1
   241  	}
   242  	return fake.displayHeaderReturns.result1
   243  }
   244  
   245  func (fake *FakeRequestLoggerOutput) DisplayHeaderCallCount() int {
   246  	fake.displayHeaderMutex.RLock()
   247  	defer fake.displayHeaderMutex.RUnlock()
   248  	return len(fake.displayHeaderArgsForCall)
   249  }
   250  
   251  func (fake *FakeRequestLoggerOutput) DisplayHeaderArgsForCall(i int) (string, string) {
   252  	fake.displayHeaderMutex.RLock()
   253  	defer fake.displayHeaderMutex.RUnlock()
   254  	return fake.displayHeaderArgsForCall[i].name, fake.displayHeaderArgsForCall[i].value
   255  }
   256  
   257  func (fake *FakeRequestLoggerOutput) DisplayHeaderReturns(result1 error) {
   258  	fake.DisplayHeaderStub = nil
   259  	fake.displayHeaderReturns = struct {
   260  		result1 error
   261  	}{result1}
   262  }
   263  
   264  func (fake *FakeRequestLoggerOutput) DisplayHeaderReturnsOnCall(i int, result1 error) {
   265  	fake.DisplayHeaderStub = nil
   266  	if fake.displayHeaderReturnsOnCall == nil {
   267  		fake.displayHeaderReturnsOnCall = make(map[int]struct {
   268  			result1 error
   269  		})
   270  	}
   271  	fake.displayHeaderReturnsOnCall[i] = struct {
   272  		result1 error
   273  	}{result1}
   274  }
   275  
   276  func (fake *FakeRequestLoggerOutput) DisplayHost(name string) error {
   277  	fake.displayHostMutex.Lock()
   278  	ret, specificReturn := fake.displayHostReturnsOnCall[len(fake.displayHostArgsForCall)]
   279  	fake.displayHostArgsForCall = append(fake.displayHostArgsForCall, struct {
   280  		name string
   281  	}{name})
   282  	fake.recordInvocation("DisplayHost", []interface{}{name})
   283  	fake.displayHostMutex.Unlock()
   284  	if fake.DisplayHostStub != nil {
   285  		return fake.DisplayHostStub(name)
   286  	}
   287  	if specificReturn {
   288  		return ret.result1
   289  	}
   290  	return fake.displayHostReturns.result1
   291  }
   292  
   293  func (fake *FakeRequestLoggerOutput) DisplayHostCallCount() int {
   294  	fake.displayHostMutex.RLock()
   295  	defer fake.displayHostMutex.RUnlock()
   296  	return len(fake.displayHostArgsForCall)
   297  }
   298  
   299  func (fake *FakeRequestLoggerOutput) DisplayHostArgsForCall(i int) string {
   300  	fake.displayHostMutex.RLock()
   301  	defer fake.displayHostMutex.RUnlock()
   302  	return fake.displayHostArgsForCall[i].name
   303  }
   304  
   305  func (fake *FakeRequestLoggerOutput) DisplayHostReturns(result1 error) {
   306  	fake.DisplayHostStub = nil
   307  	fake.displayHostReturns = struct {
   308  		result1 error
   309  	}{result1}
   310  }
   311  
   312  func (fake *FakeRequestLoggerOutput) DisplayHostReturnsOnCall(i int, result1 error) {
   313  	fake.DisplayHostStub = nil
   314  	if fake.displayHostReturnsOnCall == nil {
   315  		fake.displayHostReturnsOnCall = make(map[int]struct {
   316  			result1 error
   317  		})
   318  	}
   319  	fake.displayHostReturnsOnCall[i] = struct {
   320  		result1 error
   321  	}{result1}
   322  }
   323  
   324  func (fake *FakeRequestLoggerOutput) DisplayRequestHeader(method string, uri string, httpProtocol string) error {
   325  	fake.displayRequestHeaderMutex.Lock()
   326  	ret, specificReturn := fake.displayRequestHeaderReturnsOnCall[len(fake.displayRequestHeaderArgsForCall)]
   327  	fake.displayRequestHeaderArgsForCall = append(fake.displayRequestHeaderArgsForCall, struct {
   328  		method       string
   329  		uri          string
   330  		httpProtocol string
   331  	}{method, uri, httpProtocol})
   332  	fake.recordInvocation("DisplayRequestHeader", []interface{}{method, uri, httpProtocol})
   333  	fake.displayRequestHeaderMutex.Unlock()
   334  	if fake.DisplayRequestHeaderStub != nil {
   335  		return fake.DisplayRequestHeaderStub(method, uri, httpProtocol)
   336  	}
   337  	if specificReturn {
   338  		return ret.result1
   339  	}
   340  	return fake.displayRequestHeaderReturns.result1
   341  }
   342  
   343  func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderCallCount() int {
   344  	fake.displayRequestHeaderMutex.RLock()
   345  	defer fake.displayRequestHeaderMutex.RUnlock()
   346  	return len(fake.displayRequestHeaderArgsForCall)
   347  }
   348  
   349  func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderArgsForCall(i int) (string, string, string) {
   350  	fake.displayRequestHeaderMutex.RLock()
   351  	defer fake.displayRequestHeaderMutex.RUnlock()
   352  	return fake.displayRequestHeaderArgsForCall[i].method, fake.displayRequestHeaderArgsForCall[i].uri, fake.displayRequestHeaderArgsForCall[i].httpProtocol
   353  }
   354  
   355  func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderReturns(result1 error) {
   356  	fake.DisplayRequestHeaderStub = nil
   357  	fake.displayRequestHeaderReturns = struct {
   358  		result1 error
   359  	}{result1}
   360  }
   361  
   362  func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderReturnsOnCall(i int, result1 error) {
   363  	fake.DisplayRequestHeaderStub = nil
   364  	if fake.displayRequestHeaderReturnsOnCall == nil {
   365  		fake.displayRequestHeaderReturnsOnCall = make(map[int]struct {
   366  			result1 error
   367  		})
   368  	}
   369  	fake.displayRequestHeaderReturnsOnCall[i] = struct {
   370  		result1 error
   371  	}{result1}
   372  }
   373  
   374  func (fake *FakeRequestLoggerOutput) DisplayResponseHeader(httpProtocol string, status string) error {
   375  	fake.displayResponseHeaderMutex.Lock()
   376  	ret, specificReturn := fake.displayResponseHeaderReturnsOnCall[len(fake.displayResponseHeaderArgsForCall)]
   377  	fake.displayResponseHeaderArgsForCall = append(fake.displayResponseHeaderArgsForCall, struct {
   378  		httpProtocol string
   379  		status       string
   380  	}{httpProtocol, status})
   381  	fake.recordInvocation("DisplayResponseHeader", []interface{}{httpProtocol, status})
   382  	fake.displayResponseHeaderMutex.Unlock()
   383  	if fake.DisplayResponseHeaderStub != nil {
   384  		return fake.DisplayResponseHeaderStub(httpProtocol, status)
   385  	}
   386  	if specificReturn {
   387  		return ret.result1
   388  	}
   389  	return fake.displayResponseHeaderReturns.result1
   390  }
   391  
   392  func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderCallCount() int {
   393  	fake.displayResponseHeaderMutex.RLock()
   394  	defer fake.displayResponseHeaderMutex.RUnlock()
   395  	return len(fake.displayResponseHeaderArgsForCall)
   396  }
   397  
   398  func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderArgsForCall(i int) (string, string) {
   399  	fake.displayResponseHeaderMutex.RLock()
   400  	defer fake.displayResponseHeaderMutex.RUnlock()
   401  	return fake.displayResponseHeaderArgsForCall[i].httpProtocol, fake.displayResponseHeaderArgsForCall[i].status
   402  }
   403  
   404  func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderReturns(result1 error) {
   405  	fake.DisplayResponseHeaderStub = nil
   406  	fake.displayResponseHeaderReturns = struct {
   407  		result1 error
   408  	}{result1}
   409  }
   410  
   411  func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderReturnsOnCall(i int, result1 error) {
   412  	fake.DisplayResponseHeaderStub = nil
   413  	if fake.displayResponseHeaderReturnsOnCall == nil {
   414  		fake.displayResponseHeaderReturnsOnCall = make(map[int]struct {
   415  			result1 error
   416  		})
   417  	}
   418  	fake.displayResponseHeaderReturnsOnCall[i] = struct {
   419  		result1 error
   420  	}{result1}
   421  }
   422  
   423  func (fake *FakeRequestLoggerOutput) DisplayType(name string, requestDate time.Time) error {
   424  	fake.displayTypeMutex.Lock()
   425  	ret, specificReturn := fake.displayTypeReturnsOnCall[len(fake.displayTypeArgsForCall)]
   426  	fake.displayTypeArgsForCall = append(fake.displayTypeArgsForCall, struct {
   427  		name        string
   428  		requestDate time.Time
   429  	}{name, requestDate})
   430  	fake.recordInvocation("DisplayType", []interface{}{name, requestDate})
   431  	fake.displayTypeMutex.Unlock()
   432  	if fake.DisplayTypeStub != nil {
   433  		return fake.DisplayTypeStub(name, requestDate)
   434  	}
   435  	if specificReturn {
   436  		return ret.result1
   437  	}
   438  	return fake.displayTypeReturns.result1
   439  }
   440  
   441  func (fake *FakeRequestLoggerOutput) DisplayTypeCallCount() int {
   442  	fake.displayTypeMutex.RLock()
   443  	defer fake.displayTypeMutex.RUnlock()
   444  	return len(fake.displayTypeArgsForCall)
   445  }
   446  
   447  func (fake *FakeRequestLoggerOutput) DisplayTypeArgsForCall(i int) (string, time.Time) {
   448  	fake.displayTypeMutex.RLock()
   449  	defer fake.displayTypeMutex.RUnlock()
   450  	return fake.displayTypeArgsForCall[i].name, fake.displayTypeArgsForCall[i].requestDate
   451  }
   452  
   453  func (fake *FakeRequestLoggerOutput) DisplayTypeReturns(result1 error) {
   454  	fake.DisplayTypeStub = nil
   455  	fake.displayTypeReturns = struct {
   456  		result1 error
   457  	}{result1}
   458  }
   459  
   460  func (fake *FakeRequestLoggerOutput) DisplayTypeReturnsOnCall(i int, result1 error) {
   461  	fake.DisplayTypeStub = nil
   462  	if fake.displayTypeReturnsOnCall == nil {
   463  		fake.displayTypeReturnsOnCall = make(map[int]struct {
   464  			result1 error
   465  		})
   466  	}
   467  	fake.displayTypeReturnsOnCall[i] = struct {
   468  		result1 error
   469  	}{result1}
   470  }
   471  
   472  func (fake *FakeRequestLoggerOutput) HandleInternalError(err error) {
   473  	fake.handleInternalErrorMutex.Lock()
   474  	fake.handleInternalErrorArgsForCall = append(fake.handleInternalErrorArgsForCall, struct {
   475  		err error
   476  	}{err})
   477  	fake.recordInvocation("HandleInternalError", []interface{}{err})
   478  	fake.handleInternalErrorMutex.Unlock()
   479  	if fake.HandleInternalErrorStub != nil {
   480  		fake.HandleInternalErrorStub(err)
   481  	}
   482  }
   483  
   484  func (fake *FakeRequestLoggerOutput) HandleInternalErrorCallCount() int {
   485  	fake.handleInternalErrorMutex.RLock()
   486  	defer fake.handleInternalErrorMutex.RUnlock()
   487  	return len(fake.handleInternalErrorArgsForCall)
   488  }
   489  
   490  func (fake *FakeRequestLoggerOutput) HandleInternalErrorArgsForCall(i int) error {
   491  	fake.handleInternalErrorMutex.RLock()
   492  	defer fake.handleInternalErrorMutex.RUnlock()
   493  	return fake.handleInternalErrorArgsForCall[i].err
   494  }
   495  
   496  func (fake *FakeRequestLoggerOutput) Start() error {
   497  	fake.startMutex.Lock()
   498  	ret, specificReturn := fake.startReturnsOnCall[len(fake.startArgsForCall)]
   499  	fake.startArgsForCall = append(fake.startArgsForCall, struct{}{})
   500  	fake.recordInvocation("Start", []interface{}{})
   501  	fake.startMutex.Unlock()
   502  	if fake.StartStub != nil {
   503  		return fake.StartStub()
   504  	}
   505  	if specificReturn {
   506  		return ret.result1
   507  	}
   508  	return fake.startReturns.result1
   509  }
   510  
   511  func (fake *FakeRequestLoggerOutput) StartCallCount() int {
   512  	fake.startMutex.RLock()
   513  	defer fake.startMutex.RUnlock()
   514  	return len(fake.startArgsForCall)
   515  }
   516  
   517  func (fake *FakeRequestLoggerOutput) StartReturns(result1 error) {
   518  	fake.StartStub = nil
   519  	fake.startReturns = struct {
   520  		result1 error
   521  	}{result1}
   522  }
   523  
   524  func (fake *FakeRequestLoggerOutput) StartReturnsOnCall(i int, result1 error) {
   525  	fake.StartStub = nil
   526  	if fake.startReturnsOnCall == nil {
   527  		fake.startReturnsOnCall = make(map[int]struct {
   528  			result1 error
   529  		})
   530  	}
   531  	fake.startReturnsOnCall[i] = struct {
   532  		result1 error
   533  	}{result1}
   534  }
   535  
   536  func (fake *FakeRequestLoggerOutput) Stop() error {
   537  	fake.stopMutex.Lock()
   538  	ret, specificReturn := fake.stopReturnsOnCall[len(fake.stopArgsForCall)]
   539  	fake.stopArgsForCall = append(fake.stopArgsForCall, struct{}{})
   540  	fake.recordInvocation("Stop", []interface{}{})
   541  	fake.stopMutex.Unlock()
   542  	if fake.StopStub != nil {
   543  		return fake.StopStub()
   544  	}
   545  	if specificReturn {
   546  		return ret.result1
   547  	}
   548  	return fake.stopReturns.result1
   549  }
   550  
   551  func (fake *FakeRequestLoggerOutput) StopCallCount() int {
   552  	fake.stopMutex.RLock()
   553  	defer fake.stopMutex.RUnlock()
   554  	return len(fake.stopArgsForCall)
   555  }
   556  
   557  func (fake *FakeRequestLoggerOutput) StopReturns(result1 error) {
   558  	fake.StopStub = nil
   559  	fake.stopReturns = struct {
   560  		result1 error
   561  	}{result1}
   562  }
   563  
   564  func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error) {
   565  	fake.StopStub = nil
   566  	if fake.stopReturnsOnCall == nil {
   567  		fake.stopReturnsOnCall = make(map[int]struct {
   568  			result1 error
   569  		})
   570  	}
   571  	fake.stopReturnsOnCall[i] = struct {
   572  		result1 error
   573  	}{result1}
   574  }
   575  
   576  func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{} {
   577  	fake.invocationsMutex.RLock()
   578  	defer fake.invocationsMutex.RUnlock()
   579  	fake.displayBodyMutex.RLock()
   580  	defer fake.displayBodyMutex.RUnlock()
   581  	fake.displayJSONBodyMutex.RLock()
   582  	defer fake.displayJSONBodyMutex.RUnlock()
   583  	fake.displayHeaderMutex.RLock()
   584  	defer fake.displayHeaderMutex.RUnlock()
   585  	fake.displayHostMutex.RLock()
   586  	defer fake.displayHostMutex.RUnlock()
   587  	fake.displayRequestHeaderMutex.RLock()
   588  	defer fake.displayRequestHeaderMutex.RUnlock()
   589  	fake.displayResponseHeaderMutex.RLock()
   590  	defer fake.displayResponseHeaderMutex.RUnlock()
   591  	fake.displayTypeMutex.RLock()
   592  	defer fake.displayTypeMutex.RUnlock()
   593  	fake.handleInternalErrorMutex.RLock()
   594  	defer fake.handleInternalErrorMutex.RUnlock()
   595  	fake.startMutex.RLock()
   596  	defer fake.startMutex.RUnlock()
   597  	fake.stopMutex.RLock()
   598  	defer fake.stopMutex.RUnlock()
   599  	copiedInvocations := map[string][][]interface{}{}
   600  	for key, value := range fake.invocations {
   601  		copiedInvocations[key] = value
   602  	}
   603  	return copiedInvocations
   604  }
   605  
   606  func (fake *FakeRequestLoggerOutput) recordInvocation(key string, args []interface{}) {
   607  	fake.invocationsMutex.Lock()
   608  	defer fake.invocationsMutex.Unlock()
   609  	if fake.invocations == nil {
   610  		fake.invocations = map[string][][]interface{}{}
   611  	}
   612  	if fake.invocations[key] == nil {
   613  		fake.invocations[key] = [][]interface{}{}
   614  	}
   615  	fake.invocations[key] = append(fake.invocations[key], args)
   616  }
   617  
   618  var _ wrapper.RequestLoggerOutput = new(FakeRequestLoggerOutput)