github.com/swisscom/cloudfoundry-cli@v7.1.0+incompatible/actor/v2action/v2actionfakes/fake_config.go (about)

     1  // Code generated by counterfeiter. DO NOT EDIT.
     2  package v2actionfakes
     3  
     4  import (
     5  	"sync"
     6  	"time"
     7  
     8  	"code.cloudfoundry.org/cli/actor/v2action"
     9  	"code.cloudfoundry.org/cli/util/configv3"
    10  )
    11  
    12  type FakeConfig struct {
    13  	AccessTokenStub        func() string
    14  	accessTokenMutex       sync.RWMutex
    15  	accessTokenArgsForCall []struct {
    16  	}
    17  	accessTokenReturns struct {
    18  		result1 string
    19  	}
    20  	accessTokenReturnsOnCall map[int]struct {
    21  		result1 string
    22  	}
    23  	BinaryNameStub        func() string
    24  	binaryNameMutex       sync.RWMutex
    25  	binaryNameArgsForCall []struct {
    26  	}
    27  	binaryNameReturns struct {
    28  		result1 string
    29  	}
    30  	binaryNameReturnsOnCall map[int]struct {
    31  		result1 string
    32  	}
    33  	DialTimeoutStub        func() time.Duration
    34  	dialTimeoutMutex       sync.RWMutex
    35  	dialTimeoutArgsForCall []struct {
    36  	}
    37  	dialTimeoutReturns struct {
    38  		result1 time.Duration
    39  	}
    40  	dialTimeoutReturnsOnCall map[int]struct {
    41  		result1 time.Duration
    42  	}
    43  	PollingIntervalStub        func() time.Duration
    44  	pollingIntervalMutex       sync.RWMutex
    45  	pollingIntervalArgsForCall []struct {
    46  	}
    47  	pollingIntervalReturns struct {
    48  		result1 time.Duration
    49  	}
    50  	pollingIntervalReturnsOnCall map[int]struct {
    51  		result1 time.Duration
    52  	}
    53  	RefreshTokenStub        func() string
    54  	refreshTokenMutex       sync.RWMutex
    55  	refreshTokenArgsForCall []struct {
    56  	}
    57  	refreshTokenReturns struct {
    58  		result1 string
    59  	}
    60  	refreshTokenReturnsOnCall map[int]struct {
    61  		result1 string
    62  	}
    63  	SSHOAuthClientStub        func() string
    64  	sSHOAuthClientMutex       sync.RWMutex
    65  	sSHOAuthClientArgsForCall []struct {
    66  	}
    67  	sSHOAuthClientReturns struct {
    68  		result1 string
    69  	}
    70  	sSHOAuthClientReturnsOnCall map[int]struct {
    71  		result1 string
    72  	}
    73  	SetAccessTokenStub        func(string)
    74  	setAccessTokenMutex       sync.RWMutex
    75  	setAccessTokenArgsForCall []struct {
    76  		arg1 string
    77  	}
    78  	SetRefreshTokenStub        func(string)
    79  	setRefreshTokenMutex       sync.RWMutex
    80  	setRefreshTokenArgsForCall []struct {
    81  		arg1 string
    82  	}
    83  	SetTargetInformationStub        func(configv3.TargetInformationArgs)
    84  	setTargetInformationMutex       sync.RWMutex
    85  	setTargetInformationArgsForCall []struct {
    86  		arg1 configv3.TargetInformationArgs
    87  	}
    88  	SetTokenInformationStub        func(string, string, string)
    89  	setTokenInformationMutex       sync.RWMutex
    90  	setTokenInformationArgsForCall []struct {
    91  		arg1 string
    92  		arg2 string
    93  		arg3 string
    94  	}
    95  	SetUAAClientCredentialsStub        func(string, string)
    96  	setUAAClientCredentialsMutex       sync.RWMutex
    97  	setUAAClientCredentialsArgsForCall []struct {
    98  		arg1 string
    99  		arg2 string
   100  	}
   101  	SetUAAGrantTypeStub        func(string)
   102  	setUAAGrantTypeMutex       sync.RWMutex
   103  	setUAAGrantTypeArgsForCall []struct {
   104  		arg1 string
   105  	}
   106  	SkipSSLValidationStub        func() bool
   107  	skipSSLValidationMutex       sync.RWMutex
   108  	skipSSLValidationArgsForCall []struct {
   109  	}
   110  	skipSSLValidationReturns struct {
   111  		result1 bool
   112  	}
   113  	skipSSLValidationReturnsOnCall map[int]struct {
   114  		result1 bool
   115  	}
   116  	StagingTimeoutStub        func() time.Duration
   117  	stagingTimeoutMutex       sync.RWMutex
   118  	stagingTimeoutArgsForCall []struct {
   119  	}
   120  	stagingTimeoutReturns struct {
   121  		result1 time.Duration
   122  	}
   123  	stagingTimeoutReturnsOnCall map[int]struct {
   124  		result1 time.Duration
   125  	}
   126  	StartupTimeoutStub        func() time.Duration
   127  	startupTimeoutMutex       sync.RWMutex
   128  	startupTimeoutArgsForCall []struct {
   129  	}
   130  	startupTimeoutReturns struct {
   131  		result1 time.Duration
   132  	}
   133  	startupTimeoutReturnsOnCall map[int]struct {
   134  		result1 time.Duration
   135  	}
   136  	TargetStub        func() string
   137  	targetMutex       sync.RWMutex
   138  	targetArgsForCall []struct {
   139  	}
   140  	targetReturns struct {
   141  		result1 string
   142  	}
   143  	targetReturnsOnCall map[int]struct {
   144  		result1 string
   145  	}
   146  	UAAGrantTypeStub        func() string
   147  	uAAGrantTypeMutex       sync.RWMutex
   148  	uAAGrantTypeArgsForCall []struct {
   149  	}
   150  	uAAGrantTypeReturns struct {
   151  		result1 string
   152  	}
   153  	uAAGrantTypeReturnsOnCall map[int]struct {
   154  		result1 string
   155  	}
   156  	UnsetOrganizationAndSpaceInformationStub        func()
   157  	unsetOrganizationAndSpaceInformationMutex       sync.RWMutex
   158  	unsetOrganizationAndSpaceInformationArgsForCall []struct {
   159  	}
   160  	UnsetSpaceInformationStub        func()
   161  	unsetSpaceInformationMutex       sync.RWMutex
   162  	unsetSpaceInformationArgsForCall []struct {
   163  	}
   164  	VerboseStub        func() (bool, []string)
   165  	verboseMutex       sync.RWMutex
   166  	verboseArgsForCall []struct {
   167  	}
   168  	verboseReturns struct {
   169  		result1 bool
   170  		result2 []string
   171  	}
   172  	verboseReturnsOnCall map[int]struct {
   173  		result1 bool
   174  		result2 []string
   175  	}
   176  	invocations      map[string][][]interface{}
   177  	invocationsMutex sync.RWMutex
   178  }
   179  
   180  func (fake *FakeConfig) AccessToken() string {
   181  	fake.accessTokenMutex.Lock()
   182  	ret, specificReturn := fake.accessTokenReturnsOnCall[len(fake.accessTokenArgsForCall)]
   183  	fake.accessTokenArgsForCall = append(fake.accessTokenArgsForCall, struct {
   184  	}{})
   185  	fake.recordInvocation("AccessToken", []interface{}{})
   186  	fake.accessTokenMutex.Unlock()
   187  	if fake.AccessTokenStub != nil {
   188  		return fake.AccessTokenStub()
   189  	}
   190  	if specificReturn {
   191  		return ret.result1
   192  	}
   193  	fakeReturns := fake.accessTokenReturns
   194  	return fakeReturns.result1
   195  }
   196  
   197  func (fake *FakeConfig) AccessTokenCallCount() int {
   198  	fake.accessTokenMutex.RLock()
   199  	defer fake.accessTokenMutex.RUnlock()
   200  	return len(fake.accessTokenArgsForCall)
   201  }
   202  
   203  func (fake *FakeConfig) AccessTokenCalls(stub func() string) {
   204  	fake.accessTokenMutex.Lock()
   205  	defer fake.accessTokenMutex.Unlock()
   206  	fake.AccessTokenStub = stub
   207  }
   208  
   209  func (fake *FakeConfig) AccessTokenReturns(result1 string) {
   210  	fake.accessTokenMutex.Lock()
   211  	defer fake.accessTokenMutex.Unlock()
   212  	fake.AccessTokenStub = nil
   213  	fake.accessTokenReturns = struct {
   214  		result1 string
   215  	}{result1}
   216  }
   217  
   218  func (fake *FakeConfig) AccessTokenReturnsOnCall(i int, result1 string) {
   219  	fake.accessTokenMutex.Lock()
   220  	defer fake.accessTokenMutex.Unlock()
   221  	fake.AccessTokenStub = nil
   222  	if fake.accessTokenReturnsOnCall == nil {
   223  		fake.accessTokenReturnsOnCall = make(map[int]struct {
   224  			result1 string
   225  		})
   226  	}
   227  	fake.accessTokenReturnsOnCall[i] = struct {
   228  		result1 string
   229  	}{result1}
   230  }
   231  
   232  func (fake *FakeConfig) BinaryName() string {
   233  	fake.binaryNameMutex.Lock()
   234  	ret, specificReturn := fake.binaryNameReturnsOnCall[len(fake.binaryNameArgsForCall)]
   235  	fake.binaryNameArgsForCall = append(fake.binaryNameArgsForCall, struct {
   236  	}{})
   237  	fake.recordInvocation("BinaryName", []interface{}{})
   238  	fake.binaryNameMutex.Unlock()
   239  	if fake.BinaryNameStub != nil {
   240  		return fake.BinaryNameStub()
   241  	}
   242  	if specificReturn {
   243  		return ret.result1
   244  	}
   245  	fakeReturns := fake.binaryNameReturns
   246  	return fakeReturns.result1
   247  }
   248  
   249  func (fake *FakeConfig) BinaryNameCallCount() int {
   250  	fake.binaryNameMutex.RLock()
   251  	defer fake.binaryNameMutex.RUnlock()
   252  	return len(fake.binaryNameArgsForCall)
   253  }
   254  
   255  func (fake *FakeConfig) BinaryNameCalls(stub func() string) {
   256  	fake.binaryNameMutex.Lock()
   257  	defer fake.binaryNameMutex.Unlock()
   258  	fake.BinaryNameStub = stub
   259  }
   260  
   261  func (fake *FakeConfig) BinaryNameReturns(result1 string) {
   262  	fake.binaryNameMutex.Lock()
   263  	defer fake.binaryNameMutex.Unlock()
   264  	fake.BinaryNameStub = nil
   265  	fake.binaryNameReturns = struct {
   266  		result1 string
   267  	}{result1}
   268  }
   269  
   270  func (fake *FakeConfig) BinaryNameReturnsOnCall(i int, result1 string) {
   271  	fake.binaryNameMutex.Lock()
   272  	defer fake.binaryNameMutex.Unlock()
   273  	fake.BinaryNameStub = nil
   274  	if fake.binaryNameReturnsOnCall == nil {
   275  		fake.binaryNameReturnsOnCall = make(map[int]struct {
   276  			result1 string
   277  		})
   278  	}
   279  	fake.binaryNameReturnsOnCall[i] = struct {
   280  		result1 string
   281  	}{result1}
   282  }
   283  
   284  func (fake *FakeConfig) DialTimeout() time.Duration {
   285  	fake.dialTimeoutMutex.Lock()
   286  	ret, specificReturn := fake.dialTimeoutReturnsOnCall[len(fake.dialTimeoutArgsForCall)]
   287  	fake.dialTimeoutArgsForCall = append(fake.dialTimeoutArgsForCall, struct {
   288  	}{})
   289  	fake.recordInvocation("DialTimeout", []interface{}{})
   290  	fake.dialTimeoutMutex.Unlock()
   291  	if fake.DialTimeoutStub != nil {
   292  		return fake.DialTimeoutStub()
   293  	}
   294  	if specificReturn {
   295  		return ret.result1
   296  	}
   297  	fakeReturns := fake.dialTimeoutReturns
   298  	return fakeReturns.result1
   299  }
   300  
   301  func (fake *FakeConfig) DialTimeoutCallCount() int {
   302  	fake.dialTimeoutMutex.RLock()
   303  	defer fake.dialTimeoutMutex.RUnlock()
   304  	return len(fake.dialTimeoutArgsForCall)
   305  }
   306  
   307  func (fake *FakeConfig) DialTimeoutCalls(stub func() time.Duration) {
   308  	fake.dialTimeoutMutex.Lock()
   309  	defer fake.dialTimeoutMutex.Unlock()
   310  	fake.DialTimeoutStub = stub
   311  }
   312  
   313  func (fake *FakeConfig) DialTimeoutReturns(result1 time.Duration) {
   314  	fake.dialTimeoutMutex.Lock()
   315  	defer fake.dialTimeoutMutex.Unlock()
   316  	fake.DialTimeoutStub = nil
   317  	fake.dialTimeoutReturns = struct {
   318  		result1 time.Duration
   319  	}{result1}
   320  }
   321  
   322  func (fake *FakeConfig) DialTimeoutReturnsOnCall(i int, result1 time.Duration) {
   323  	fake.dialTimeoutMutex.Lock()
   324  	defer fake.dialTimeoutMutex.Unlock()
   325  	fake.DialTimeoutStub = nil
   326  	if fake.dialTimeoutReturnsOnCall == nil {
   327  		fake.dialTimeoutReturnsOnCall = make(map[int]struct {
   328  			result1 time.Duration
   329  		})
   330  	}
   331  	fake.dialTimeoutReturnsOnCall[i] = struct {
   332  		result1 time.Duration
   333  	}{result1}
   334  }
   335  
   336  func (fake *FakeConfig) PollingInterval() time.Duration {
   337  	fake.pollingIntervalMutex.Lock()
   338  	ret, specificReturn := fake.pollingIntervalReturnsOnCall[len(fake.pollingIntervalArgsForCall)]
   339  	fake.pollingIntervalArgsForCall = append(fake.pollingIntervalArgsForCall, struct {
   340  	}{})
   341  	fake.recordInvocation("PollingInterval", []interface{}{})
   342  	fake.pollingIntervalMutex.Unlock()
   343  	if fake.PollingIntervalStub != nil {
   344  		return fake.PollingIntervalStub()
   345  	}
   346  	if specificReturn {
   347  		return ret.result1
   348  	}
   349  	fakeReturns := fake.pollingIntervalReturns
   350  	return fakeReturns.result1
   351  }
   352  
   353  func (fake *FakeConfig) PollingIntervalCallCount() int {
   354  	fake.pollingIntervalMutex.RLock()
   355  	defer fake.pollingIntervalMutex.RUnlock()
   356  	return len(fake.pollingIntervalArgsForCall)
   357  }
   358  
   359  func (fake *FakeConfig) PollingIntervalCalls(stub func() time.Duration) {
   360  	fake.pollingIntervalMutex.Lock()
   361  	defer fake.pollingIntervalMutex.Unlock()
   362  	fake.PollingIntervalStub = stub
   363  }
   364  
   365  func (fake *FakeConfig) PollingIntervalReturns(result1 time.Duration) {
   366  	fake.pollingIntervalMutex.Lock()
   367  	defer fake.pollingIntervalMutex.Unlock()
   368  	fake.PollingIntervalStub = nil
   369  	fake.pollingIntervalReturns = struct {
   370  		result1 time.Duration
   371  	}{result1}
   372  }
   373  
   374  func (fake *FakeConfig) PollingIntervalReturnsOnCall(i int, result1 time.Duration) {
   375  	fake.pollingIntervalMutex.Lock()
   376  	defer fake.pollingIntervalMutex.Unlock()
   377  	fake.PollingIntervalStub = nil
   378  	if fake.pollingIntervalReturnsOnCall == nil {
   379  		fake.pollingIntervalReturnsOnCall = make(map[int]struct {
   380  			result1 time.Duration
   381  		})
   382  	}
   383  	fake.pollingIntervalReturnsOnCall[i] = struct {
   384  		result1 time.Duration
   385  	}{result1}
   386  }
   387  
   388  func (fake *FakeConfig) RefreshToken() string {
   389  	fake.refreshTokenMutex.Lock()
   390  	ret, specificReturn := fake.refreshTokenReturnsOnCall[len(fake.refreshTokenArgsForCall)]
   391  	fake.refreshTokenArgsForCall = append(fake.refreshTokenArgsForCall, struct {
   392  	}{})
   393  	fake.recordInvocation("RefreshToken", []interface{}{})
   394  	fake.refreshTokenMutex.Unlock()
   395  	if fake.RefreshTokenStub != nil {
   396  		return fake.RefreshTokenStub()
   397  	}
   398  	if specificReturn {
   399  		return ret.result1
   400  	}
   401  	fakeReturns := fake.refreshTokenReturns
   402  	return fakeReturns.result1
   403  }
   404  
   405  func (fake *FakeConfig) RefreshTokenCallCount() int {
   406  	fake.refreshTokenMutex.RLock()
   407  	defer fake.refreshTokenMutex.RUnlock()
   408  	return len(fake.refreshTokenArgsForCall)
   409  }
   410  
   411  func (fake *FakeConfig) RefreshTokenCalls(stub func() string) {
   412  	fake.refreshTokenMutex.Lock()
   413  	defer fake.refreshTokenMutex.Unlock()
   414  	fake.RefreshTokenStub = stub
   415  }
   416  
   417  func (fake *FakeConfig) RefreshTokenReturns(result1 string) {
   418  	fake.refreshTokenMutex.Lock()
   419  	defer fake.refreshTokenMutex.Unlock()
   420  	fake.RefreshTokenStub = nil
   421  	fake.refreshTokenReturns = struct {
   422  		result1 string
   423  	}{result1}
   424  }
   425  
   426  func (fake *FakeConfig) RefreshTokenReturnsOnCall(i int, result1 string) {
   427  	fake.refreshTokenMutex.Lock()
   428  	defer fake.refreshTokenMutex.Unlock()
   429  	fake.RefreshTokenStub = nil
   430  	if fake.refreshTokenReturnsOnCall == nil {
   431  		fake.refreshTokenReturnsOnCall = make(map[int]struct {
   432  			result1 string
   433  		})
   434  	}
   435  	fake.refreshTokenReturnsOnCall[i] = struct {
   436  		result1 string
   437  	}{result1}
   438  }
   439  
   440  func (fake *FakeConfig) SSHOAuthClient() string {
   441  	fake.sSHOAuthClientMutex.Lock()
   442  	ret, specificReturn := fake.sSHOAuthClientReturnsOnCall[len(fake.sSHOAuthClientArgsForCall)]
   443  	fake.sSHOAuthClientArgsForCall = append(fake.sSHOAuthClientArgsForCall, struct {
   444  	}{})
   445  	fake.recordInvocation("SSHOAuthClient", []interface{}{})
   446  	fake.sSHOAuthClientMutex.Unlock()
   447  	if fake.SSHOAuthClientStub != nil {
   448  		return fake.SSHOAuthClientStub()
   449  	}
   450  	if specificReturn {
   451  		return ret.result1
   452  	}
   453  	fakeReturns := fake.sSHOAuthClientReturns
   454  	return fakeReturns.result1
   455  }
   456  
   457  func (fake *FakeConfig) SSHOAuthClientCallCount() int {
   458  	fake.sSHOAuthClientMutex.RLock()
   459  	defer fake.sSHOAuthClientMutex.RUnlock()
   460  	return len(fake.sSHOAuthClientArgsForCall)
   461  }
   462  
   463  func (fake *FakeConfig) SSHOAuthClientCalls(stub func() string) {
   464  	fake.sSHOAuthClientMutex.Lock()
   465  	defer fake.sSHOAuthClientMutex.Unlock()
   466  	fake.SSHOAuthClientStub = stub
   467  }
   468  
   469  func (fake *FakeConfig) SSHOAuthClientReturns(result1 string) {
   470  	fake.sSHOAuthClientMutex.Lock()
   471  	defer fake.sSHOAuthClientMutex.Unlock()
   472  	fake.SSHOAuthClientStub = nil
   473  	fake.sSHOAuthClientReturns = struct {
   474  		result1 string
   475  	}{result1}
   476  }
   477  
   478  func (fake *FakeConfig) SSHOAuthClientReturnsOnCall(i int, result1 string) {
   479  	fake.sSHOAuthClientMutex.Lock()
   480  	defer fake.sSHOAuthClientMutex.Unlock()
   481  	fake.SSHOAuthClientStub = nil
   482  	if fake.sSHOAuthClientReturnsOnCall == nil {
   483  		fake.sSHOAuthClientReturnsOnCall = make(map[int]struct {
   484  			result1 string
   485  		})
   486  	}
   487  	fake.sSHOAuthClientReturnsOnCall[i] = struct {
   488  		result1 string
   489  	}{result1}
   490  }
   491  
   492  func (fake *FakeConfig) SetAccessToken(arg1 string) {
   493  	fake.setAccessTokenMutex.Lock()
   494  	fake.setAccessTokenArgsForCall = append(fake.setAccessTokenArgsForCall, struct {
   495  		arg1 string
   496  	}{arg1})
   497  	fake.recordInvocation("SetAccessToken", []interface{}{arg1})
   498  	fake.setAccessTokenMutex.Unlock()
   499  	if fake.SetAccessTokenStub != nil {
   500  		fake.SetAccessTokenStub(arg1)
   501  	}
   502  }
   503  
   504  func (fake *FakeConfig) SetAccessTokenCallCount() int {
   505  	fake.setAccessTokenMutex.RLock()
   506  	defer fake.setAccessTokenMutex.RUnlock()
   507  	return len(fake.setAccessTokenArgsForCall)
   508  }
   509  
   510  func (fake *FakeConfig) SetAccessTokenCalls(stub func(string)) {
   511  	fake.setAccessTokenMutex.Lock()
   512  	defer fake.setAccessTokenMutex.Unlock()
   513  	fake.SetAccessTokenStub = stub
   514  }
   515  
   516  func (fake *FakeConfig) SetAccessTokenArgsForCall(i int) string {
   517  	fake.setAccessTokenMutex.RLock()
   518  	defer fake.setAccessTokenMutex.RUnlock()
   519  	argsForCall := fake.setAccessTokenArgsForCall[i]
   520  	return argsForCall.arg1
   521  }
   522  
   523  func (fake *FakeConfig) SetRefreshToken(arg1 string) {
   524  	fake.setRefreshTokenMutex.Lock()
   525  	fake.setRefreshTokenArgsForCall = append(fake.setRefreshTokenArgsForCall, struct {
   526  		arg1 string
   527  	}{arg1})
   528  	fake.recordInvocation("SetRefreshToken", []interface{}{arg1})
   529  	fake.setRefreshTokenMutex.Unlock()
   530  	if fake.SetRefreshTokenStub != nil {
   531  		fake.SetRefreshTokenStub(arg1)
   532  	}
   533  }
   534  
   535  func (fake *FakeConfig) SetRefreshTokenCallCount() int {
   536  	fake.setRefreshTokenMutex.RLock()
   537  	defer fake.setRefreshTokenMutex.RUnlock()
   538  	return len(fake.setRefreshTokenArgsForCall)
   539  }
   540  
   541  func (fake *FakeConfig) SetRefreshTokenCalls(stub func(string)) {
   542  	fake.setRefreshTokenMutex.Lock()
   543  	defer fake.setRefreshTokenMutex.Unlock()
   544  	fake.SetRefreshTokenStub = stub
   545  }
   546  
   547  func (fake *FakeConfig) SetRefreshTokenArgsForCall(i int) string {
   548  	fake.setRefreshTokenMutex.RLock()
   549  	defer fake.setRefreshTokenMutex.RUnlock()
   550  	argsForCall := fake.setRefreshTokenArgsForCall[i]
   551  	return argsForCall.arg1
   552  }
   553  
   554  func (fake *FakeConfig) SetTargetInformation(arg1 configv3.TargetInformationArgs) {
   555  	fake.setTargetInformationMutex.Lock()
   556  	fake.setTargetInformationArgsForCall = append(fake.setTargetInformationArgsForCall, struct {
   557  		arg1 configv3.TargetInformationArgs
   558  	}{arg1})
   559  	fake.recordInvocation("SetTargetInformation", []interface{}{arg1})
   560  	fake.setTargetInformationMutex.Unlock()
   561  	if fake.SetTargetInformationStub != nil {
   562  		fake.SetTargetInformationStub(arg1)
   563  	}
   564  }
   565  
   566  func (fake *FakeConfig) SetTargetInformationCallCount() int {
   567  	fake.setTargetInformationMutex.RLock()
   568  	defer fake.setTargetInformationMutex.RUnlock()
   569  	return len(fake.setTargetInformationArgsForCall)
   570  }
   571  
   572  func (fake *FakeConfig) SetTargetInformationCalls(stub func(configv3.TargetInformationArgs)) {
   573  	fake.setTargetInformationMutex.Lock()
   574  	defer fake.setTargetInformationMutex.Unlock()
   575  	fake.SetTargetInformationStub = stub
   576  }
   577  
   578  func (fake *FakeConfig) SetTargetInformationArgsForCall(i int) configv3.TargetInformationArgs {
   579  	fake.setTargetInformationMutex.RLock()
   580  	defer fake.setTargetInformationMutex.RUnlock()
   581  	argsForCall := fake.setTargetInformationArgsForCall[i]
   582  	return argsForCall.arg1
   583  }
   584  
   585  func (fake *FakeConfig) SetTokenInformation(arg1 string, arg2 string, arg3 string) {
   586  	fake.setTokenInformationMutex.Lock()
   587  	fake.setTokenInformationArgsForCall = append(fake.setTokenInformationArgsForCall, struct {
   588  		arg1 string
   589  		arg2 string
   590  		arg3 string
   591  	}{arg1, arg2, arg3})
   592  	fake.recordInvocation("SetTokenInformation", []interface{}{arg1, arg2, arg3})
   593  	fake.setTokenInformationMutex.Unlock()
   594  	if fake.SetTokenInformationStub != nil {
   595  		fake.SetTokenInformationStub(arg1, arg2, arg3)
   596  	}
   597  }
   598  
   599  func (fake *FakeConfig) SetTokenInformationCallCount() int {
   600  	fake.setTokenInformationMutex.RLock()
   601  	defer fake.setTokenInformationMutex.RUnlock()
   602  	return len(fake.setTokenInformationArgsForCall)
   603  }
   604  
   605  func (fake *FakeConfig) SetTokenInformationCalls(stub func(string, string, string)) {
   606  	fake.setTokenInformationMutex.Lock()
   607  	defer fake.setTokenInformationMutex.Unlock()
   608  	fake.SetTokenInformationStub = stub
   609  }
   610  
   611  func (fake *FakeConfig) SetTokenInformationArgsForCall(i int) (string, string, string) {
   612  	fake.setTokenInformationMutex.RLock()
   613  	defer fake.setTokenInformationMutex.RUnlock()
   614  	argsForCall := fake.setTokenInformationArgsForCall[i]
   615  	return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3
   616  }
   617  
   618  func (fake *FakeConfig) SetUAAClientCredentials(arg1 string, arg2 string) {
   619  	fake.setUAAClientCredentialsMutex.Lock()
   620  	fake.setUAAClientCredentialsArgsForCall = append(fake.setUAAClientCredentialsArgsForCall, struct {
   621  		arg1 string
   622  		arg2 string
   623  	}{arg1, arg2})
   624  	fake.recordInvocation("SetUAAClientCredentials", []interface{}{arg1, arg2})
   625  	fake.setUAAClientCredentialsMutex.Unlock()
   626  	if fake.SetUAAClientCredentialsStub != nil {
   627  		fake.SetUAAClientCredentialsStub(arg1, arg2)
   628  	}
   629  }
   630  
   631  func (fake *FakeConfig) SetUAAClientCredentialsCallCount() int {
   632  	fake.setUAAClientCredentialsMutex.RLock()
   633  	defer fake.setUAAClientCredentialsMutex.RUnlock()
   634  	return len(fake.setUAAClientCredentialsArgsForCall)
   635  }
   636  
   637  func (fake *FakeConfig) SetUAAClientCredentialsCalls(stub func(string, string)) {
   638  	fake.setUAAClientCredentialsMutex.Lock()
   639  	defer fake.setUAAClientCredentialsMutex.Unlock()
   640  	fake.SetUAAClientCredentialsStub = stub
   641  }
   642  
   643  func (fake *FakeConfig) SetUAAClientCredentialsArgsForCall(i int) (string, string) {
   644  	fake.setUAAClientCredentialsMutex.RLock()
   645  	defer fake.setUAAClientCredentialsMutex.RUnlock()
   646  	argsForCall := fake.setUAAClientCredentialsArgsForCall[i]
   647  	return argsForCall.arg1, argsForCall.arg2
   648  }
   649  
   650  func (fake *FakeConfig) SetUAAGrantType(arg1 string) {
   651  	fake.setUAAGrantTypeMutex.Lock()
   652  	fake.setUAAGrantTypeArgsForCall = append(fake.setUAAGrantTypeArgsForCall, struct {
   653  		arg1 string
   654  	}{arg1})
   655  	fake.recordInvocation("SetUAAGrantType", []interface{}{arg1})
   656  	fake.setUAAGrantTypeMutex.Unlock()
   657  	if fake.SetUAAGrantTypeStub != nil {
   658  		fake.SetUAAGrantTypeStub(arg1)
   659  	}
   660  }
   661  
   662  func (fake *FakeConfig) SetUAAGrantTypeCallCount() int {
   663  	fake.setUAAGrantTypeMutex.RLock()
   664  	defer fake.setUAAGrantTypeMutex.RUnlock()
   665  	return len(fake.setUAAGrantTypeArgsForCall)
   666  }
   667  
   668  func (fake *FakeConfig) SetUAAGrantTypeCalls(stub func(string)) {
   669  	fake.setUAAGrantTypeMutex.Lock()
   670  	defer fake.setUAAGrantTypeMutex.Unlock()
   671  	fake.SetUAAGrantTypeStub = stub
   672  }
   673  
   674  func (fake *FakeConfig) SetUAAGrantTypeArgsForCall(i int) string {
   675  	fake.setUAAGrantTypeMutex.RLock()
   676  	defer fake.setUAAGrantTypeMutex.RUnlock()
   677  	argsForCall := fake.setUAAGrantTypeArgsForCall[i]
   678  	return argsForCall.arg1
   679  }
   680  
   681  func (fake *FakeConfig) SkipSSLValidation() bool {
   682  	fake.skipSSLValidationMutex.Lock()
   683  	ret, specificReturn := fake.skipSSLValidationReturnsOnCall[len(fake.skipSSLValidationArgsForCall)]
   684  	fake.skipSSLValidationArgsForCall = append(fake.skipSSLValidationArgsForCall, struct {
   685  	}{})
   686  	fake.recordInvocation("SkipSSLValidation", []interface{}{})
   687  	fake.skipSSLValidationMutex.Unlock()
   688  	if fake.SkipSSLValidationStub != nil {
   689  		return fake.SkipSSLValidationStub()
   690  	}
   691  	if specificReturn {
   692  		return ret.result1
   693  	}
   694  	fakeReturns := fake.skipSSLValidationReturns
   695  	return fakeReturns.result1
   696  }
   697  
   698  func (fake *FakeConfig) SkipSSLValidationCallCount() int {
   699  	fake.skipSSLValidationMutex.RLock()
   700  	defer fake.skipSSLValidationMutex.RUnlock()
   701  	return len(fake.skipSSLValidationArgsForCall)
   702  }
   703  
   704  func (fake *FakeConfig) SkipSSLValidationCalls(stub func() bool) {
   705  	fake.skipSSLValidationMutex.Lock()
   706  	defer fake.skipSSLValidationMutex.Unlock()
   707  	fake.SkipSSLValidationStub = stub
   708  }
   709  
   710  func (fake *FakeConfig) SkipSSLValidationReturns(result1 bool) {
   711  	fake.skipSSLValidationMutex.Lock()
   712  	defer fake.skipSSLValidationMutex.Unlock()
   713  	fake.SkipSSLValidationStub = nil
   714  	fake.skipSSLValidationReturns = struct {
   715  		result1 bool
   716  	}{result1}
   717  }
   718  
   719  func (fake *FakeConfig) SkipSSLValidationReturnsOnCall(i int, result1 bool) {
   720  	fake.skipSSLValidationMutex.Lock()
   721  	defer fake.skipSSLValidationMutex.Unlock()
   722  	fake.SkipSSLValidationStub = nil
   723  	if fake.skipSSLValidationReturnsOnCall == nil {
   724  		fake.skipSSLValidationReturnsOnCall = make(map[int]struct {
   725  			result1 bool
   726  		})
   727  	}
   728  	fake.skipSSLValidationReturnsOnCall[i] = struct {
   729  		result1 bool
   730  	}{result1}
   731  }
   732  
   733  func (fake *FakeConfig) StagingTimeout() time.Duration {
   734  	fake.stagingTimeoutMutex.Lock()
   735  	ret, specificReturn := fake.stagingTimeoutReturnsOnCall[len(fake.stagingTimeoutArgsForCall)]
   736  	fake.stagingTimeoutArgsForCall = append(fake.stagingTimeoutArgsForCall, struct {
   737  	}{})
   738  	fake.recordInvocation("StagingTimeout", []interface{}{})
   739  	fake.stagingTimeoutMutex.Unlock()
   740  	if fake.StagingTimeoutStub != nil {
   741  		return fake.StagingTimeoutStub()
   742  	}
   743  	if specificReturn {
   744  		return ret.result1
   745  	}
   746  	fakeReturns := fake.stagingTimeoutReturns
   747  	return fakeReturns.result1
   748  }
   749  
   750  func (fake *FakeConfig) StagingTimeoutCallCount() int {
   751  	fake.stagingTimeoutMutex.RLock()
   752  	defer fake.stagingTimeoutMutex.RUnlock()
   753  	return len(fake.stagingTimeoutArgsForCall)
   754  }
   755  
   756  func (fake *FakeConfig) StagingTimeoutCalls(stub func() time.Duration) {
   757  	fake.stagingTimeoutMutex.Lock()
   758  	defer fake.stagingTimeoutMutex.Unlock()
   759  	fake.StagingTimeoutStub = stub
   760  }
   761  
   762  func (fake *FakeConfig) StagingTimeoutReturns(result1 time.Duration) {
   763  	fake.stagingTimeoutMutex.Lock()
   764  	defer fake.stagingTimeoutMutex.Unlock()
   765  	fake.StagingTimeoutStub = nil
   766  	fake.stagingTimeoutReturns = struct {
   767  		result1 time.Duration
   768  	}{result1}
   769  }
   770  
   771  func (fake *FakeConfig) StagingTimeoutReturnsOnCall(i int, result1 time.Duration) {
   772  	fake.stagingTimeoutMutex.Lock()
   773  	defer fake.stagingTimeoutMutex.Unlock()
   774  	fake.StagingTimeoutStub = nil
   775  	if fake.stagingTimeoutReturnsOnCall == nil {
   776  		fake.stagingTimeoutReturnsOnCall = make(map[int]struct {
   777  			result1 time.Duration
   778  		})
   779  	}
   780  	fake.stagingTimeoutReturnsOnCall[i] = struct {
   781  		result1 time.Duration
   782  	}{result1}
   783  }
   784  
   785  func (fake *FakeConfig) StartupTimeout() time.Duration {
   786  	fake.startupTimeoutMutex.Lock()
   787  	ret, specificReturn := fake.startupTimeoutReturnsOnCall[len(fake.startupTimeoutArgsForCall)]
   788  	fake.startupTimeoutArgsForCall = append(fake.startupTimeoutArgsForCall, struct {
   789  	}{})
   790  	fake.recordInvocation("StartupTimeout", []interface{}{})
   791  	fake.startupTimeoutMutex.Unlock()
   792  	if fake.StartupTimeoutStub != nil {
   793  		return fake.StartupTimeoutStub()
   794  	}
   795  	if specificReturn {
   796  		return ret.result1
   797  	}
   798  	fakeReturns := fake.startupTimeoutReturns
   799  	return fakeReturns.result1
   800  }
   801  
   802  func (fake *FakeConfig) StartupTimeoutCallCount() int {
   803  	fake.startupTimeoutMutex.RLock()
   804  	defer fake.startupTimeoutMutex.RUnlock()
   805  	return len(fake.startupTimeoutArgsForCall)
   806  }
   807  
   808  func (fake *FakeConfig) StartupTimeoutCalls(stub func() time.Duration) {
   809  	fake.startupTimeoutMutex.Lock()
   810  	defer fake.startupTimeoutMutex.Unlock()
   811  	fake.StartupTimeoutStub = stub
   812  }
   813  
   814  func (fake *FakeConfig) StartupTimeoutReturns(result1 time.Duration) {
   815  	fake.startupTimeoutMutex.Lock()
   816  	defer fake.startupTimeoutMutex.Unlock()
   817  	fake.StartupTimeoutStub = nil
   818  	fake.startupTimeoutReturns = struct {
   819  		result1 time.Duration
   820  	}{result1}
   821  }
   822  
   823  func (fake *FakeConfig) StartupTimeoutReturnsOnCall(i int, result1 time.Duration) {
   824  	fake.startupTimeoutMutex.Lock()
   825  	defer fake.startupTimeoutMutex.Unlock()
   826  	fake.StartupTimeoutStub = nil
   827  	if fake.startupTimeoutReturnsOnCall == nil {
   828  		fake.startupTimeoutReturnsOnCall = make(map[int]struct {
   829  			result1 time.Duration
   830  		})
   831  	}
   832  	fake.startupTimeoutReturnsOnCall[i] = struct {
   833  		result1 time.Duration
   834  	}{result1}
   835  }
   836  
   837  func (fake *FakeConfig) Target() string {
   838  	fake.targetMutex.Lock()
   839  	ret, specificReturn := fake.targetReturnsOnCall[len(fake.targetArgsForCall)]
   840  	fake.targetArgsForCall = append(fake.targetArgsForCall, struct {
   841  	}{})
   842  	fake.recordInvocation("Target", []interface{}{})
   843  	fake.targetMutex.Unlock()
   844  	if fake.TargetStub != nil {
   845  		return fake.TargetStub()
   846  	}
   847  	if specificReturn {
   848  		return ret.result1
   849  	}
   850  	fakeReturns := fake.targetReturns
   851  	return fakeReturns.result1
   852  }
   853  
   854  func (fake *FakeConfig) TargetCallCount() int {
   855  	fake.targetMutex.RLock()
   856  	defer fake.targetMutex.RUnlock()
   857  	return len(fake.targetArgsForCall)
   858  }
   859  
   860  func (fake *FakeConfig) TargetCalls(stub func() string) {
   861  	fake.targetMutex.Lock()
   862  	defer fake.targetMutex.Unlock()
   863  	fake.TargetStub = stub
   864  }
   865  
   866  func (fake *FakeConfig) TargetReturns(result1 string) {
   867  	fake.targetMutex.Lock()
   868  	defer fake.targetMutex.Unlock()
   869  	fake.TargetStub = nil
   870  	fake.targetReturns = struct {
   871  		result1 string
   872  	}{result1}
   873  }
   874  
   875  func (fake *FakeConfig) TargetReturnsOnCall(i int, result1 string) {
   876  	fake.targetMutex.Lock()
   877  	defer fake.targetMutex.Unlock()
   878  	fake.TargetStub = nil
   879  	if fake.targetReturnsOnCall == nil {
   880  		fake.targetReturnsOnCall = make(map[int]struct {
   881  			result1 string
   882  		})
   883  	}
   884  	fake.targetReturnsOnCall[i] = struct {
   885  		result1 string
   886  	}{result1}
   887  }
   888  
   889  func (fake *FakeConfig) UAAGrantType() string {
   890  	fake.uAAGrantTypeMutex.Lock()
   891  	ret, specificReturn := fake.uAAGrantTypeReturnsOnCall[len(fake.uAAGrantTypeArgsForCall)]
   892  	fake.uAAGrantTypeArgsForCall = append(fake.uAAGrantTypeArgsForCall, struct {
   893  	}{})
   894  	fake.recordInvocation("UAAGrantType", []interface{}{})
   895  	fake.uAAGrantTypeMutex.Unlock()
   896  	if fake.UAAGrantTypeStub != nil {
   897  		return fake.UAAGrantTypeStub()
   898  	}
   899  	if specificReturn {
   900  		return ret.result1
   901  	}
   902  	fakeReturns := fake.uAAGrantTypeReturns
   903  	return fakeReturns.result1
   904  }
   905  
   906  func (fake *FakeConfig) UAAGrantTypeCallCount() int {
   907  	fake.uAAGrantTypeMutex.RLock()
   908  	defer fake.uAAGrantTypeMutex.RUnlock()
   909  	return len(fake.uAAGrantTypeArgsForCall)
   910  }
   911  
   912  func (fake *FakeConfig) UAAGrantTypeCalls(stub func() string) {
   913  	fake.uAAGrantTypeMutex.Lock()
   914  	defer fake.uAAGrantTypeMutex.Unlock()
   915  	fake.UAAGrantTypeStub = stub
   916  }
   917  
   918  func (fake *FakeConfig) UAAGrantTypeReturns(result1 string) {
   919  	fake.uAAGrantTypeMutex.Lock()
   920  	defer fake.uAAGrantTypeMutex.Unlock()
   921  	fake.UAAGrantTypeStub = nil
   922  	fake.uAAGrantTypeReturns = struct {
   923  		result1 string
   924  	}{result1}
   925  }
   926  
   927  func (fake *FakeConfig) UAAGrantTypeReturnsOnCall(i int, result1 string) {
   928  	fake.uAAGrantTypeMutex.Lock()
   929  	defer fake.uAAGrantTypeMutex.Unlock()
   930  	fake.UAAGrantTypeStub = nil
   931  	if fake.uAAGrantTypeReturnsOnCall == nil {
   932  		fake.uAAGrantTypeReturnsOnCall = make(map[int]struct {
   933  			result1 string
   934  		})
   935  	}
   936  	fake.uAAGrantTypeReturnsOnCall[i] = struct {
   937  		result1 string
   938  	}{result1}
   939  }
   940  
   941  func (fake *FakeConfig) UnsetOrganizationAndSpaceInformation() {
   942  	fake.unsetOrganizationAndSpaceInformationMutex.Lock()
   943  	fake.unsetOrganizationAndSpaceInformationArgsForCall = append(fake.unsetOrganizationAndSpaceInformationArgsForCall, struct {
   944  	}{})
   945  	fake.recordInvocation("UnsetOrganizationAndSpaceInformation", []interface{}{})
   946  	fake.unsetOrganizationAndSpaceInformationMutex.Unlock()
   947  	if fake.UnsetOrganizationAndSpaceInformationStub != nil {
   948  		fake.UnsetOrganizationAndSpaceInformationStub()
   949  	}
   950  }
   951  
   952  func (fake *FakeConfig) UnsetOrganizationAndSpaceInformationCallCount() int {
   953  	fake.unsetOrganizationAndSpaceInformationMutex.RLock()
   954  	defer fake.unsetOrganizationAndSpaceInformationMutex.RUnlock()
   955  	return len(fake.unsetOrganizationAndSpaceInformationArgsForCall)
   956  }
   957  
   958  func (fake *FakeConfig) UnsetOrganizationAndSpaceInformationCalls(stub func()) {
   959  	fake.unsetOrganizationAndSpaceInformationMutex.Lock()
   960  	defer fake.unsetOrganizationAndSpaceInformationMutex.Unlock()
   961  	fake.UnsetOrganizationAndSpaceInformationStub = stub
   962  }
   963  
   964  func (fake *FakeConfig) UnsetSpaceInformation() {
   965  	fake.unsetSpaceInformationMutex.Lock()
   966  	fake.unsetSpaceInformationArgsForCall = append(fake.unsetSpaceInformationArgsForCall, struct {
   967  	}{})
   968  	fake.recordInvocation("UnsetSpaceInformation", []interface{}{})
   969  	fake.unsetSpaceInformationMutex.Unlock()
   970  	if fake.UnsetSpaceInformationStub != nil {
   971  		fake.UnsetSpaceInformationStub()
   972  	}
   973  }
   974  
   975  func (fake *FakeConfig) UnsetSpaceInformationCallCount() int {
   976  	fake.unsetSpaceInformationMutex.RLock()
   977  	defer fake.unsetSpaceInformationMutex.RUnlock()
   978  	return len(fake.unsetSpaceInformationArgsForCall)
   979  }
   980  
   981  func (fake *FakeConfig) UnsetSpaceInformationCalls(stub func()) {
   982  	fake.unsetSpaceInformationMutex.Lock()
   983  	defer fake.unsetSpaceInformationMutex.Unlock()
   984  	fake.UnsetSpaceInformationStub = stub
   985  }
   986  
   987  func (fake *FakeConfig) Verbose() (bool, []string) {
   988  	fake.verboseMutex.Lock()
   989  	ret, specificReturn := fake.verboseReturnsOnCall[len(fake.verboseArgsForCall)]
   990  	fake.verboseArgsForCall = append(fake.verboseArgsForCall, struct {
   991  	}{})
   992  	fake.recordInvocation("Verbose", []interface{}{})
   993  	fake.verboseMutex.Unlock()
   994  	if fake.VerboseStub != nil {
   995  		return fake.VerboseStub()
   996  	}
   997  	if specificReturn {
   998  		return ret.result1, ret.result2
   999  	}
  1000  	fakeReturns := fake.verboseReturns
  1001  	return fakeReturns.result1, fakeReturns.result2
  1002  }
  1003  
  1004  func (fake *FakeConfig) VerboseCallCount() int {
  1005  	fake.verboseMutex.RLock()
  1006  	defer fake.verboseMutex.RUnlock()
  1007  	return len(fake.verboseArgsForCall)
  1008  }
  1009  
  1010  func (fake *FakeConfig) VerboseCalls(stub func() (bool, []string)) {
  1011  	fake.verboseMutex.Lock()
  1012  	defer fake.verboseMutex.Unlock()
  1013  	fake.VerboseStub = stub
  1014  }
  1015  
  1016  func (fake *FakeConfig) VerboseReturns(result1 bool, result2 []string) {
  1017  	fake.verboseMutex.Lock()
  1018  	defer fake.verboseMutex.Unlock()
  1019  	fake.VerboseStub = nil
  1020  	fake.verboseReturns = struct {
  1021  		result1 bool
  1022  		result2 []string
  1023  	}{result1, result2}
  1024  }
  1025  
  1026  func (fake *FakeConfig) VerboseReturnsOnCall(i int, result1 bool, result2 []string) {
  1027  	fake.verboseMutex.Lock()
  1028  	defer fake.verboseMutex.Unlock()
  1029  	fake.VerboseStub = nil
  1030  	if fake.verboseReturnsOnCall == nil {
  1031  		fake.verboseReturnsOnCall = make(map[int]struct {
  1032  			result1 bool
  1033  			result2 []string
  1034  		})
  1035  	}
  1036  	fake.verboseReturnsOnCall[i] = struct {
  1037  		result1 bool
  1038  		result2 []string
  1039  	}{result1, result2}
  1040  }
  1041  
  1042  func (fake *FakeConfig) Invocations() map[string][][]interface{} {
  1043  	fake.invocationsMutex.RLock()
  1044  	defer fake.invocationsMutex.RUnlock()
  1045  	fake.accessTokenMutex.RLock()
  1046  	defer fake.accessTokenMutex.RUnlock()
  1047  	fake.binaryNameMutex.RLock()
  1048  	defer fake.binaryNameMutex.RUnlock()
  1049  	fake.dialTimeoutMutex.RLock()
  1050  	defer fake.dialTimeoutMutex.RUnlock()
  1051  	fake.pollingIntervalMutex.RLock()
  1052  	defer fake.pollingIntervalMutex.RUnlock()
  1053  	fake.refreshTokenMutex.RLock()
  1054  	defer fake.refreshTokenMutex.RUnlock()
  1055  	fake.sSHOAuthClientMutex.RLock()
  1056  	defer fake.sSHOAuthClientMutex.RUnlock()
  1057  	fake.setAccessTokenMutex.RLock()
  1058  	defer fake.setAccessTokenMutex.RUnlock()
  1059  	fake.setRefreshTokenMutex.RLock()
  1060  	defer fake.setRefreshTokenMutex.RUnlock()
  1061  	fake.setTargetInformationMutex.RLock()
  1062  	defer fake.setTargetInformationMutex.RUnlock()
  1063  	fake.setTokenInformationMutex.RLock()
  1064  	defer fake.setTokenInformationMutex.RUnlock()
  1065  	fake.setUAAClientCredentialsMutex.RLock()
  1066  	defer fake.setUAAClientCredentialsMutex.RUnlock()
  1067  	fake.setUAAGrantTypeMutex.RLock()
  1068  	defer fake.setUAAGrantTypeMutex.RUnlock()
  1069  	fake.skipSSLValidationMutex.RLock()
  1070  	defer fake.skipSSLValidationMutex.RUnlock()
  1071  	fake.stagingTimeoutMutex.RLock()
  1072  	defer fake.stagingTimeoutMutex.RUnlock()
  1073  	fake.startupTimeoutMutex.RLock()
  1074  	defer fake.startupTimeoutMutex.RUnlock()
  1075  	fake.targetMutex.RLock()
  1076  	defer fake.targetMutex.RUnlock()
  1077  	fake.uAAGrantTypeMutex.RLock()
  1078  	defer fake.uAAGrantTypeMutex.RUnlock()
  1079  	fake.unsetOrganizationAndSpaceInformationMutex.RLock()
  1080  	defer fake.unsetOrganizationAndSpaceInformationMutex.RUnlock()
  1081  	fake.unsetSpaceInformationMutex.RLock()
  1082  	defer fake.unsetSpaceInformationMutex.RUnlock()
  1083  	fake.verboseMutex.RLock()
  1084  	defer fake.verboseMutex.RUnlock()
  1085  	copiedInvocations := map[string][][]interface{}{}
  1086  	for key, value := range fake.invocations {
  1087  		copiedInvocations[key] = value
  1088  	}
  1089  	return copiedInvocations
  1090  }
  1091  
  1092  func (fake *FakeConfig) recordInvocation(key string, args []interface{}) {
  1093  	fake.invocationsMutex.Lock()
  1094  	defer fake.invocationsMutex.Unlock()
  1095  	if fake.invocations == nil {
  1096  		fake.invocations = map[string][][]interface{}{}
  1097  	}
  1098  	if fake.invocations[key] == nil {
  1099  		fake.invocations[key] = [][]interface{}{}
  1100  	}
  1101  	fake.invocations[key] = append(fake.invocations[key], args)
  1102  }
  1103  
  1104  var _ v2action.Config = new(FakeConfig)