github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/api/uaa/uaafakes/fake_config.go (about)

     1  // Code generated by counterfeiter. DO NOT EDIT.
     2  package uaafakes
     3  
     4  import (
     5  	"sync"
     6  	"time"
     7  
     8  	"code.cloudfoundry.org/cli/api/uaa"
     9  )
    10  
    11  type FakeConfig struct {
    12  	BinaryNameStub        func() string
    13  	binaryNameMutex       sync.RWMutex
    14  	binaryNameArgsForCall []struct {
    15  	}
    16  	binaryNameReturns struct {
    17  		result1 string
    18  	}
    19  	binaryNameReturnsOnCall map[int]struct {
    20  		result1 string
    21  	}
    22  	BinaryVersionStub        func() string
    23  	binaryVersionMutex       sync.RWMutex
    24  	binaryVersionArgsForCall []struct {
    25  	}
    26  	binaryVersionReturns struct {
    27  		result1 string
    28  	}
    29  	binaryVersionReturnsOnCall map[int]struct {
    30  		result1 string
    31  	}
    32  	DialTimeoutStub        func() time.Duration
    33  	dialTimeoutMutex       sync.RWMutex
    34  	dialTimeoutArgsForCall []struct {
    35  	}
    36  	dialTimeoutReturns struct {
    37  		result1 time.Duration
    38  	}
    39  	dialTimeoutReturnsOnCall map[int]struct {
    40  		result1 time.Duration
    41  	}
    42  	SetUAAEndpointStub        func(string)
    43  	setUAAEndpointMutex       sync.RWMutex
    44  	setUAAEndpointArgsForCall []struct {
    45  		arg1 string
    46  	}
    47  	SkipSSLValidationStub        func() bool
    48  	skipSSLValidationMutex       sync.RWMutex
    49  	skipSSLValidationArgsForCall []struct {
    50  	}
    51  	skipSSLValidationReturns struct {
    52  		result1 bool
    53  	}
    54  	skipSSLValidationReturnsOnCall map[int]struct {
    55  		result1 bool
    56  	}
    57  	UAADisableKeepAlivesStub        func() bool
    58  	uAADisableKeepAlivesMutex       sync.RWMutex
    59  	uAADisableKeepAlivesArgsForCall []struct {
    60  	}
    61  	uAADisableKeepAlivesReturns struct {
    62  		result1 bool
    63  	}
    64  	uAADisableKeepAlivesReturnsOnCall map[int]struct {
    65  		result1 bool
    66  	}
    67  	UAAGrantTypeStub        func() string
    68  	uAAGrantTypeMutex       sync.RWMutex
    69  	uAAGrantTypeArgsForCall []struct {
    70  	}
    71  	uAAGrantTypeReturns struct {
    72  		result1 string
    73  	}
    74  	uAAGrantTypeReturnsOnCall map[int]struct {
    75  		result1 string
    76  	}
    77  	UAAOAuthClientStub        func() string
    78  	uAAOAuthClientMutex       sync.RWMutex
    79  	uAAOAuthClientArgsForCall []struct {
    80  	}
    81  	uAAOAuthClientReturns struct {
    82  		result1 string
    83  	}
    84  	uAAOAuthClientReturnsOnCall map[int]struct {
    85  		result1 string
    86  	}
    87  	UAAOAuthClientSecretStub        func() string
    88  	uAAOAuthClientSecretMutex       sync.RWMutex
    89  	uAAOAuthClientSecretArgsForCall []struct {
    90  	}
    91  	uAAOAuthClientSecretReturns struct {
    92  		result1 string
    93  	}
    94  	uAAOAuthClientSecretReturnsOnCall map[int]struct {
    95  		result1 string
    96  	}
    97  	invocations      map[string][][]interface{}
    98  	invocationsMutex sync.RWMutex
    99  }
   100  
   101  func (fake *FakeConfig) BinaryName() string {
   102  	fake.binaryNameMutex.Lock()
   103  	ret, specificReturn := fake.binaryNameReturnsOnCall[len(fake.binaryNameArgsForCall)]
   104  	fake.binaryNameArgsForCall = append(fake.binaryNameArgsForCall, struct {
   105  	}{})
   106  	fake.recordInvocation("BinaryName", []interface{}{})
   107  	fake.binaryNameMutex.Unlock()
   108  	if fake.BinaryNameStub != nil {
   109  		return fake.BinaryNameStub()
   110  	}
   111  	if specificReturn {
   112  		return ret.result1
   113  	}
   114  	fakeReturns := fake.binaryNameReturns
   115  	return fakeReturns.result1
   116  }
   117  
   118  func (fake *FakeConfig) BinaryNameCallCount() int {
   119  	fake.binaryNameMutex.RLock()
   120  	defer fake.binaryNameMutex.RUnlock()
   121  	return len(fake.binaryNameArgsForCall)
   122  }
   123  
   124  func (fake *FakeConfig) BinaryNameCalls(stub func() string) {
   125  	fake.binaryNameMutex.Lock()
   126  	defer fake.binaryNameMutex.Unlock()
   127  	fake.BinaryNameStub = stub
   128  }
   129  
   130  func (fake *FakeConfig) BinaryNameReturns(result1 string) {
   131  	fake.binaryNameMutex.Lock()
   132  	defer fake.binaryNameMutex.Unlock()
   133  	fake.BinaryNameStub = nil
   134  	fake.binaryNameReturns = struct {
   135  		result1 string
   136  	}{result1}
   137  }
   138  
   139  func (fake *FakeConfig) BinaryNameReturnsOnCall(i int, result1 string) {
   140  	fake.binaryNameMutex.Lock()
   141  	defer fake.binaryNameMutex.Unlock()
   142  	fake.BinaryNameStub = nil
   143  	if fake.binaryNameReturnsOnCall == nil {
   144  		fake.binaryNameReturnsOnCall = make(map[int]struct {
   145  			result1 string
   146  		})
   147  	}
   148  	fake.binaryNameReturnsOnCall[i] = struct {
   149  		result1 string
   150  	}{result1}
   151  }
   152  
   153  func (fake *FakeConfig) BinaryVersion() string {
   154  	fake.binaryVersionMutex.Lock()
   155  	ret, specificReturn := fake.binaryVersionReturnsOnCall[len(fake.binaryVersionArgsForCall)]
   156  	fake.binaryVersionArgsForCall = append(fake.binaryVersionArgsForCall, struct {
   157  	}{})
   158  	fake.recordInvocation("BinaryVersion", []interface{}{})
   159  	fake.binaryVersionMutex.Unlock()
   160  	if fake.BinaryVersionStub != nil {
   161  		return fake.BinaryVersionStub()
   162  	}
   163  	if specificReturn {
   164  		return ret.result1
   165  	}
   166  	fakeReturns := fake.binaryVersionReturns
   167  	return fakeReturns.result1
   168  }
   169  
   170  func (fake *FakeConfig) BinaryVersionCallCount() int {
   171  	fake.binaryVersionMutex.RLock()
   172  	defer fake.binaryVersionMutex.RUnlock()
   173  	return len(fake.binaryVersionArgsForCall)
   174  }
   175  
   176  func (fake *FakeConfig) BinaryVersionCalls(stub func() string) {
   177  	fake.binaryVersionMutex.Lock()
   178  	defer fake.binaryVersionMutex.Unlock()
   179  	fake.BinaryVersionStub = stub
   180  }
   181  
   182  func (fake *FakeConfig) BinaryVersionReturns(result1 string) {
   183  	fake.binaryVersionMutex.Lock()
   184  	defer fake.binaryVersionMutex.Unlock()
   185  	fake.BinaryVersionStub = nil
   186  	fake.binaryVersionReturns = struct {
   187  		result1 string
   188  	}{result1}
   189  }
   190  
   191  func (fake *FakeConfig) BinaryVersionReturnsOnCall(i int, result1 string) {
   192  	fake.binaryVersionMutex.Lock()
   193  	defer fake.binaryVersionMutex.Unlock()
   194  	fake.BinaryVersionStub = nil
   195  	if fake.binaryVersionReturnsOnCall == nil {
   196  		fake.binaryVersionReturnsOnCall = make(map[int]struct {
   197  			result1 string
   198  		})
   199  	}
   200  	fake.binaryVersionReturnsOnCall[i] = struct {
   201  		result1 string
   202  	}{result1}
   203  }
   204  
   205  func (fake *FakeConfig) DialTimeout() time.Duration {
   206  	fake.dialTimeoutMutex.Lock()
   207  	ret, specificReturn := fake.dialTimeoutReturnsOnCall[len(fake.dialTimeoutArgsForCall)]
   208  	fake.dialTimeoutArgsForCall = append(fake.dialTimeoutArgsForCall, struct {
   209  	}{})
   210  	fake.recordInvocation("DialTimeout", []interface{}{})
   211  	fake.dialTimeoutMutex.Unlock()
   212  	if fake.DialTimeoutStub != nil {
   213  		return fake.DialTimeoutStub()
   214  	}
   215  	if specificReturn {
   216  		return ret.result1
   217  	}
   218  	fakeReturns := fake.dialTimeoutReturns
   219  	return fakeReturns.result1
   220  }
   221  
   222  func (fake *FakeConfig) DialTimeoutCallCount() int {
   223  	fake.dialTimeoutMutex.RLock()
   224  	defer fake.dialTimeoutMutex.RUnlock()
   225  	return len(fake.dialTimeoutArgsForCall)
   226  }
   227  
   228  func (fake *FakeConfig) DialTimeoutCalls(stub func() time.Duration) {
   229  	fake.dialTimeoutMutex.Lock()
   230  	defer fake.dialTimeoutMutex.Unlock()
   231  	fake.DialTimeoutStub = stub
   232  }
   233  
   234  func (fake *FakeConfig) DialTimeoutReturns(result1 time.Duration) {
   235  	fake.dialTimeoutMutex.Lock()
   236  	defer fake.dialTimeoutMutex.Unlock()
   237  	fake.DialTimeoutStub = nil
   238  	fake.dialTimeoutReturns = struct {
   239  		result1 time.Duration
   240  	}{result1}
   241  }
   242  
   243  func (fake *FakeConfig) DialTimeoutReturnsOnCall(i int, result1 time.Duration) {
   244  	fake.dialTimeoutMutex.Lock()
   245  	defer fake.dialTimeoutMutex.Unlock()
   246  	fake.DialTimeoutStub = nil
   247  	if fake.dialTimeoutReturnsOnCall == nil {
   248  		fake.dialTimeoutReturnsOnCall = make(map[int]struct {
   249  			result1 time.Duration
   250  		})
   251  	}
   252  	fake.dialTimeoutReturnsOnCall[i] = struct {
   253  		result1 time.Duration
   254  	}{result1}
   255  }
   256  
   257  func (fake *FakeConfig) SetUAAEndpoint(arg1 string) {
   258  	fake.setUAAEndpointMutex.Lock()
   259  	fake.setUAAEndpointArgsForCall = append(fake.setUAAEndpointArgsForCall, struct {
   260  		arg1 string
   261  	}{arg1})
   262  	fake.recordInvocation("SetUAAEndpoint", []interface{}{arg1})
   263  	fake.setUAAEndpointMutex.Unlock()
   264  	if fake.SetUAAEndpointStub != nil {
   265  		fake.SetUAAEndpointStub(arg1)
   266  	}
   267  }
   268  
   269  func (fake *FakeConfig) SetUAAEndpointCallCount() int {
   270  	fake.setUAAEndpointMutex.RLock()
   271  	defer fake.setUAAEndpointMutex.RUnlock()
   272  	return len(fake.setUAAEndpointArgsForCall)
   273  }
   274  
   275  func (fake *FakeConfig) SetUAAEndpointCalls(stub func(string)) {
   276  	fake.setUAAEndpointMutex.Lock()
   277  	defer fake.setUAAEndpointMutex.Unlock()
   278  	fake.SetUAAEndpointStub = stub
   279  }
   280  
   281  func (fake *FakeConfig) SetUAAEndpointArgsForCall(i int) string {
   282  	fake.setUAAEndpointMutex.RLock()
   283  	defer fake.setUAAEndpointMutex.RUnlock()
   284  	argsForCall := fake.setUAAEndpointArgsForCall[i]
   285  	return argsForCall.arg1
   286  }
   287  
   288  func (fake *FakeConfig) SkipSSLValidation() bool {
   289  	fake.skipSSLValidationMutex.Lock()
   290  	ret, specificReturn := fake.skipSSLValidationReturnsOnCall[len(fake.skipSSLValidationArgsForCall)]
   291  	fake.skipSSLValidationArgsForCall = append(fake.skipSSLValidationArgsForCall, struct {
   292  	}{})
   293  	fake.recordInvocation("SkipSSLValidation", []interface{}{})
   294  	fake.skipSSLValidationMutex.Unlock()
   295  	if fake.SkipSSLValidationStub != nil {
   296  		return fake.SkipSSLValidationStub()
   297  	}
   298  	if specificReturn {
   299  		return ret.result1
   300  	}
   301  	fakeReturns := fake.skipSSLValidationReturns
   302  	return fakeReturns.result1
   303  }
   304  
   305  func (fake *FakeConfig) SkipSSLValidationCallCount() int {
   306  	fake.skipSSLValidationMutex.RLock()
   307  	defer fake.skipSSLValidationMutex.RUnlock()
   308  	return len(fake.skipSSLValidationArgsForCall)
   309  }
   310  
   311  func (fake *FakeConfig) SkipSSLValidationCalls(stub func() bool) {
   312  	fake.skipSSLValidationMutex.Lock()
   313  	defer fake.skipSSLValidationMutex.Unlock()
   314  	fake.SkipSSLValidationStub = stub
   315  }
   316  
   317  func (fake *FakeConfig) SkipSSLValidationReturns(result1 bool) {
   318  	fake.skipSSLValidationMutex.Lock()
   319  	defer fake.skipSSLValidationMutex.Unlock()
   320  	fake.SkipSSLValidationStub = nil
   321  	fake.skipSSLValidationReturns = struct {
   322  		result1 bool
   323  	}{result1}
   324  }
   325  
   326  func (fake *FakeConfig) SkipSSLValidationReturnsOnCall(i int, result1 bool) {
   327  	fake.skipSSLValidationMutex.Lock()
   328  	defer fake.skipSSLValidationMutex.Unlock()
   329  	fake.SkipSSLValidationStub = nil
   330  	if fake.skipSSLValidationReturnsOnCall == nil {
   331  		fake.skipSSLValidationReturnsOnCall = make(map[int]struct {
   332  			result1 bool
   333  		})
   334  	}
   335  	fake.skipSSLValidationReturnsOnCall[i] = struct {
   336  		result1 bool
   337  	}{result1}
   338  }
   339  
   340  func (fake *FakeConfig) UAADisableKeepAlives() bool {
   341  	fake.uAADisableKeepAlivesMutex.Lock()
   342  	ret, specificReturn := fake.uAADisableKeepAlivesReturnsOnCall[len(fake.uAADisableKeepAlivesArgsForCall)]
   343  	fake.uAADisableKeepAlivesArgsForCall = append(fake.uAADisableKeepAlivesArgsForCall, struct {
   344  	}{})
   345  	fake.recordInvocation("UAADisableKeepAlives", []interface{}{})
   346  	fake.uAADisableKeepAlivesMutex.Unlock()
   347  	if fake.UAADisableKeepAlivesStub != nil {
   348  		return fake.UAADisableKeepAlivesStub()
   349  	}
   350  	if specificReturn {
   351  		return ret.result1
   352  	}
   353  	fakeReturns := fake.uAADisableKeepAlivesReturns
   354  	return fakeReturns.result1
   355  }
   356  
   357  func (fake *FakeConfig) UAADisableKeepAlivesCallCount() int {
   358  	fake.uAADisableKeepAlivesMutex.RLock()
   359  	defer fake.uAADisableKeepAlivesMutex.RUnlock()
   360  	return len(fake.uAADisableKeepAlivesArgsForCall)
   361  }
   362  
   363  func (fake *FakeConfig) UAADisableKeepAlivesCalls(stub func() bool) {
   364  	fake.uAADisableKeepAlivesMutex.Lock()
   365  	defer fake.uAADisableKeepAlivesMutex.Unlock()
   366  	fake.UAADisableKeepAlivesStub = stub
   367  }
   368  
   369  func (fake *FakeConfig) UAADisableKeepAlivesReturns(result1 bool) {
   370  	fake.uAADisableKeepAlivesMutex.Lock()
   371  	defer fake.uAADisableKeepAlivesMutex.Unlock()
   372  	fake.UAADisableKeepAlivesStub = nil
   373  	fake.uAADisableKeepAlivesReturns = struct {
   374  		result1 bool
   375  	}{result1}
   376  }
   377  
   378  func (fake *FakeConfig) UAADisableKeepAlivesReturnsOnCall(i int, result1 bool) {
   379  	fake.uAADisableKeepAlivesMutex.Lock()
   380  	defer fake.uAADisableKeepAlivesMutex.Unlock()
   381  	fake.UAADisableKeepAlivesStub = nil
   382  	if fake.uAADisableKeepAlivesReturnsOnCall == nil {
   383  		fake.uAADisableKeepAlivesReturnsOnCall = make(map[int]struct {
   384  			result1 bool
   385  		})
   386  	}
   387  	fake.uAADisableKeepAlivesReturnsOnCall[i] = struct {
   388  		result1 bool
   389  	}{result1}
   390  }
   391  
   392  func (fake *FakeConfig) UAAGrantType() string {
   393  	fake.uAAGrantTypeMutex.Lock()
   394  	ret, specificReturn := fake.uAAGrantTypeReturnsOnCall[len(fake.uAAGrantTypeArgsForCall)]
   395  	fake.uAAGrantTypeArgsForCall = append(fake.uAAGrantTypeArgsForCall, struct {
   396  	}{})
   397  	fake.recordInvocation("UAAGrantType", []interface{}{})
   398  	fake.uAAGrantTypeMutex.Unlock()
   399  	if fake.UAAGrantTypeStub != nil {
   400  		return fake.UAAGrantTypeStub()
   401  	}
   402  	if specificReturn {
   403  		return ret.result1
   404  	}
   405  	fakeReturns := fake.uAAGrantTypeReturns
   406  	return fakeReturns.result1
   407  }
   408  
   409  func (fake *FakeConfig) UAAGrantTypeCallCount() int {
   410  	fake.uAAGrantTypeMutex.RLock()
   411  	defer fake.uAAGrantTypeMutex.RUnlock()
   412  	return len(fake.uAAGrantTypeArgsForCall)
   413  }
   414  
   415  func (fake *FakeConfig) UAAGrantTypeCalls(stub func() string) {
   416  	fake.uAAGrantTypeMutex.Lock()
   417  	defer fake.uAAGrantTypeMutex.Unlock()
   418  	fake.UAAGrantTypeStub = stub
   419  }
   420  
   421  func (fake *FakeConfig) UAAGrantTypeReturns(result1 string) {
   422  	fake.uAAGrantTypeMutex.Lock()
   423  	defer fake.uAAGrantTypeMutex.Unlock()
   424  	fake.UAAGrantTypeStub = nil
   425  	fake.uAAGrantTypeReturns = struct {
   426  		result1 string
   427  	}{result1}
   428  }
   429  
   430  func (fake *FakeConfig) UAAGrantTypeReturnsOnCall(i int, result1 string) {
   431  	fake.uAAGrantTypeMutex.Lock()
   432  	defer fake.uAAGrantTypeMutex.Unlock()
   433  	fake.UAAGrantTypeStub = nil
   434  	if fake.uAAGrantTypeReturnsOnCall == nil {
   435  		fake.uAAGrantTypeReturnsOnCall = make(map[int]struct {
   436  			result1 string
   437  		})
   438  	}
   439  	fake.uAAGrantTypeReturnsOnCall[i] = struct {
   440  		result1 string
   441  	}{result1}
   442  }
   443  
   444  func (fake *FakeConfig) UAAOAuthClient() string {
   445  	fake.uAAOAuthClientMutex.Lock()
   446  	ret, specificReturn := fake.uAAOAuthClientReturnsOnCall[len(fake.uAAOAuthClientArgsForCall)]
   447  	fake.uAAOAuthClientArgsForCall = append(fake.uAAOAuthClientArgsForCall, struct {
   448  	}{})
   449  	fake.recordInvocation("UAAOAuthClient", []interface{}{})
   450  	fake.uAAOAuthClientMutex.Unlock()
   451  	if fake.UAAOAuthClientStub != nil {
   452  		return fake.UAAOAuthClientStub()
   453  	}
   454  	if specificReturn {
   455  		return ret.result1
   456  	}
   457  	fakeReturns := fake.uAAOAuthClientReturns
   458  	return fakeReturns.result1
   459  }
   460  
   461  func (fake *FakeConfig) UAAOAuthClientCallCount() int {
   462  	fake.uAAOAuthClientMutex.RLock()
   463  	defer fake.uAAOAuthClientMutex.RUnlock()
   464  	return len(fake.uAAOAuthClientArgsForCall)
   465  }
   466  
   467  func (fake *FakeConfig) UAAOAuthClientCalls(stub func() string) {
   468  	fake.uAAOAuthClientMutex.Lock()
   469  	defer fake.uAAOAuthClientMutex.Unlock()
   470  	fake.UAAOAuthClientStub = stub
   471  }
   472  
   473  func (fake *FakeConfig) UAAOAuthClientReturns(result1 string) {
   474  	fake.uAAOAuthClientMutex.Lock()
   475  	defer fake.uAAOAuthClientMutex.Unlock()
   476  	fake.UAAOAuthClientStub = nil
   477  	fake.uAAOAuthClientReturns = struct {
   478  		result1 string
   479  	}{result1}
   480  }
   481  
   482  func (fake *FakeConfig) UAAOAuthClientReturnsOnCall(i int, result1 string) {
   483  	fake.uAAOAuthClientMutex.Lock()
   484  	defer fake.uAAOAuthClientMutex.Unlock()
   485  	fake.UAAOAuthClientStub = nil
   486  	if fake.uAAOAuthClientReturnsOnCall == nil {
   487  		fake.uAAOAuthClientReturnsOnCall = make(map[int]struct {
   488  			result1 string
   489  		})
   490  	}
   491  	fake.uAAOAuthClientReturnsOnCall[i] = struct {
   492  		result1 string
   493  	}{result1}
   494  }
   495  
   496  func (fake *FakeConfig) UAAOAuthClientSecret() string {
   497  	fake.uAAOAuthClientSecretMutex.Lock()
   498  	ret, specificReturn := fake.uAAOAuthClientSecretReturnsOnCall[len(fake.uAAOAuthClientSecretArgsForCall)]
   499  	fake.uAAOAuthClientSecretArgsForCall = append(fake.uAAOAuthClientSecretArgsForCall, struct {
   500  	}{})
   501  	fake.recordInvocation("UAAOAuthClientSecret", []interface{}{})
   502  	fake.uAAOAuthClientSecretMutex.Unlock()
   503  	if fake.UAAOAuthClientSecretStub != nil {
   504  		return fake.UAAOAuthClientSecretStub()
   505  	}
   506  	if specificReturn {
   507  		return ret.result1
   508  	}
   509  	fakeReturns := fake.uAAOAuthClientSecretReturns
   510  	return fakeReturns.result1
   511  }
   512  
   513  func (fake *FakeConfig) UAAOAuthClientSecretCallCount() int {
   514  	fake.uAAOAuthClientSecretMutex.RLock()
   515  	defer fake.uAAOAuthClientSecretMutex.RUnlock()
   516  	return len(fake.uAAOAuthClientSecretArgsForCall)
   517  }
   518  
   519  func (fake *FakeConfig) UAAOAuthClientSecretCalls(stub func() string) {
   520  	fake.uAAOAuthClientSecretMutex.Lock()
   521  	defer fake.uAAOAuthClientSecretMutex.Unlock()
   522  	fake.UAAOAuthClientSecretStub = stub
   523  }
   524  
   525  func (fake *FakeConfig) UAAOAuthClientSecretReturns(result1 string) {
   526  	fake.uAAOAuthClientSecretMutex.Lock()
   527  	defer fake.uAAOAuthClientSecretMutex.Unlock()
   528  	fake.UAAOAuthClientSecretStub = nil
   529  	fake.uAAOAuthClientSecretReturns = struct {
   530  		result1 string
   531  	}{result1}
   532  }
   533  
   534  func (fake *FakeConfig) UAAOAuthClientSecretReturnsOnCall(i int, result1 string) {
   535  	fake.uAAOAuthClientSecretMutex.Lock()
   536  	defer fake.uAAOAuthClientSecretMutex.Unlock()
   537  	fake.UAAOAuthClientSecretStub = nil
   538  	if fake.uAAOAuthClientSecretReturnsOnCall == nil {
   539  		fake.uAAOAuthClientSecretReturnsOnCall = make(map[int]struct {
   540  			result1 string
   541  		})
   542  	}
   543  	fake.uAAOAuthClientSecretReturnsOnCall[i] = struct {
   544  		result1 string
   545  	}{result1}
   546  }
   547  
   548  func (fake *FakeConfig) Invocations() map[string][][]interface{} {
   549  	fake.invocationsMutex.RLock()
   550  	defer fake.invocationsMutex.RUnlock()
   551  	fake.binaryNameMutex.RLock()
   552  	defer fake.binaryNameMutex.RUnlock()
   553  	fake.binaryVersionMutex.RLock()
   554  	defer fake.binaryVersionMutex.RUnlock()
   555  	fake.dialTimeoutMutex.RLock()
   556  	defer fake.dialTimeoutMutex.RUnlock()
   557  	fake.setUAAEndpointMutex.RLock()
   558  	defer fake.setUAAEndpointMutex.RUnlock()
   559  	fake.skipSSLValidationMutex.RLock()
   560  	defer fake.skipSSLValidationMutex.RUnlock()
   561  	fake.uAADisableKeepAlivesMutex.RLock()
   562  	defer fake.uAADisableKeepAlivesMutex.RUnlock()
   563  	fake.uAAGrantTypeMutex.RLock()
   564  	defer fake.uAAGrantTypeMutex.RUnlock()
   565  	fake.uAAOAuthClientMutex.RLock()
   566  	defer fake.uAAOAuthClientMutex.RUnlock()
   567  	fake.uAAOAuthClientSecretMutex.RLock()
   568  	defer fake.uAAOAuthClientSecretMutex.RUnlock()
   569  	copiedInvocations := map[string][][]interface{}{}
   570  	for key, value := range fake.invocations {
   571  		copiedInvocations[key] = value
   572  	}
   573  	return copiedInvocations
   574  }
   575  
   576  func (fake *FakeConfig) recordInvocation(key string, args []interface{}) {
   577  	fake.invocationsMutex.Lock()
   578  	defer fake.invocationsMutex.Unlock()
   579  	if fake.invocations == nil {
   580  		fake.invocations = map[string][][]interface{}{}
   581  	}
   582  	if fake.invocations[key] == nil {
   583  		fake.invocations[key] = [][]interface{}{}
   584  	}
   585  	fake.invocations[key] = append(fake.invocations[key], args)
   586  }
   587  
   588  var _ uaa.Config = new(FakeConfig)