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