github.com/liamawhite/cli-with-i18n@v6.32.1-0.20171122084555-dede0a5c3448+incompatible/command/v3/v3fakes/fake_v3scale_actor.go (about)

     1  // Code generated by counterfeiter. DO NOT EDIT.
     2  package v3fakes
     3  
     4  import (
     5  	"sync"
     6  
     7  	"github.com/liamawhite/cli-with-i18n/actor/v3action"
     8  	"github.com/liamawhite/cli-with-i18n/command/v3"
     9  )
    10  
    11  type FakeV3ScaleActor struct {
    12  	GetApplicationSummaryByNameAndSpaceStub        func(appName string, spaceGUID string) (v3action.ApplicationSummary, v3action.Warnings, error)
    13  	getApplicationSummaryByNameAndSpaceMutex       sync.RWMutex
    14  	getApplicationSummaryByNameAndSpaceArgsForCall []struct {
    15  		appName   string
    16  		spaceGUID string
    17  	}
    18  	getApplicationSummaryByNameAndSpaceReturns struct {
    19  		result1 v3action.ApplicationSummary
    20  		result2 v3action.Warnings
    21  		result3 error
    22  	}
    23  	getApplicationSummaryByNameAndSpaceReturnsOnCall map[int]struct {
    24  		result1 v3action.ApplicationSummary
    25  		result2 v3action.Warnings
    26  		result3 error
    27  	}
    28  	CloudControllerAPIVersionStub        func() string
    29  	cloudControllerAPIVersionMutex       sync.RWMutex
    30  	cloudControllerAPIVersionArgsForCall []struct{}
    31  	cloudControllerAPIVersionReturns     struct {
    32  		result1 string
    33  	}
    34  	cloudControllerAPIVersionReturnsOnCall map[int]struct {
    35  		result1 string
    36  	}
    37  	GetApplicationByNameAndSpaceStub        func(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)
    38  	getApplicationByNameAndSpaceMutex       sync.RWMutex
    39  	getApplicationByNameAndSpaceArgsForCall []struct {
    40  		appName   string
    41  		spaceGUID string
    42  	}
    43  	getApplicationByNameAndSpaceReturns struct {
    44  		result1 v3action.Application
    45  		result2 v3action.Warnings
    46  		result3 error
    47  	}
    48  	getApplicationByNameAndSpaceReturnsOnCall map[int]struct {
    49  		result1 v3action.Application
    50  		result2 v3action.Warnings
    51  		result3 error
    52  	}
    53  	ScaleProcessByApplicationStub        func(appGUID string, process v3action.Process) (v3action.Warnings, error)
    54  	scaleProcessByApplicationMutex       sync.RWMutex
    55  	scaleProcessByApplicationArgsForCall []struct {
    56  		appGUID string
    57  		process v3action.Process
    58  	}
    59  	scaleProcessByApplicationReturns struct {
    60  		result1 v3action.Warnings
    61  		result2 error
    62  	}
    63  	scaleProcessByApplicationReturnsOnCall map[int]struct {
    64  		result1 v3action.Warnings
    65  		result2 error
    66  	}
    67  	StopApplicationStub        func(appGUID string) (v3action.Warnings, error)
    68  	stopApplicationMutex       sync.RWMutex
    69  	stopApplicationArgsForCall []struct {
    70  		appGUID string
    71  	}
    72  	stopApplicationReturns struct {
    73  		result1 v3action.Warnings
    74  		result2 error
    75  	}
    76  	stopApplicationReturnsOnCall map[int]struct {
    77  		result1 v3action.Warnings
    78  		result2 error
    79  	}
    80  	StartApplicationStub        func(appGUID string) (v3action.Application, v3action.Warnings, error)
    81  	startApplicationMutex       sync.RWMutex
    82  	startApplicationArgsForCall []struct {
    83  		appGUID string
    84  	}
    85  	startApplicationReturns struct {
    86  		result1 v3action.Application
    87  		result2 v3action.Warnings
    88  		result3 error
    89  	}
    90  	startApplicationReturnsOnCall map[int]struct {
    91  		result1 v3action.Application
    92  		result2 v3action.Warnings
    93  		result3 error
    94  	}
    95  	PollStartStub        func(appGUID string, warnings chan<- v3action.Warnings) error
    96  	pollStartMutex       sync.RWMutex
    97  	pollStartArgsForCall []struct {
    98  		appGUID  string
    99  		warnings chan<- v3action.Warnings
   100  	}
   101  	pollStartReturns struct {
   102  		result1 error
   103  	}
   104  	pollStartReturnsOnCall map[int]struct {
   105  		result1 error
   106  	}
   107  	invocations      map[string][][]interface{}
   108  	invocationsMutex sync.RWMutex
   109  }
   110  
   111  func (fake *FakeV3ScaleActor) GetApplicationSummaryByNameAndSpace(appName string, spaceGUID string) (v3action.ApplicationSummary, v3action.Warnings, error) {
   112  	fake.getApplicationSummaryByNameAndSpaceMutex.Lock()
   113  	ret, specificReturn := fake.getApplicationSummaryByNameAndSpaceReturnsOnCall[len(fake.getApplicationSummaryByNameAndSpaceArgsForCall)]
   114  	fake.getApplicationSummaryByNameAndSpaceArgsForCall = append(fake.getApplicationSummaryByNameAndSpaceArgsForCall, struct {
   115  		appName   string
   116  		spaceGUID string
   117  	}{appName, spaceGUID})
   118  	fake.recordInvocation("GetApplicationSummaryByNameAndSpace", []interface{}{appName, spaceGUID})
   119  	fake.getApplicationSummaryByNameAndSpaceMutex.Unlock()
   120  	if fake.GetApplicationSummaryByNameAndSpaceStub != nil {
   121  		return fake.GetApplicationSummaryByNameAndSpaceStub(appName, spaceGUID)
   122  	}
   123  	if specificReturn {
   124  		return ret.result1, ret.result2, ret.result3
   125  	}
   126  	return fake.getApplicationSummaryByNameAndSpaceReturns.result1, fake.getApplicationSummaryByNameAndSpaceReturns.result2, fake.getApplicationSummaryByNameAndSpaceReturns.result3
   127  }
   128  
   129  func (fake *FakeV3ScaleActor) GetApplicationSummaryByNameAndSpaceCallCount() int {
   130  	fake.getApplicationSummaryByNameAndSpaceMutex.RLock()
   131  	defer fake.getApplicationSummaryByNameAndSpaceMutex.RUnlock()
   132  	return len(fake.getApplicationSummaryByNameAndSpaceArgsForCall)
   133  }
   134  
   135  func (fake *FakeV3ScaleActor) GetApplicationSummaryByNameAndSpaceArgsForCall(i int) (string, string) {
   136  	fake.getApplicationSummaryByNameAndSpaceMutex.RLock()
   137  	defer fake.getApplicationSummaryByNameAndSpaceMutex.RUnlock()
   138  	return fake.getApplicationSummaryByNameAndSpaceArgsForCall[i].appName, fake.getApplicationSummaryByNameAndSpaceArgsForCall[i].spaceGUID
   139  }
   140  
   141  func (fake *FakeV3ScaleActor) GetApplicationSummaryByNameAndSpaceReturns(result1 v3action.ApplicationSummary, result2 v3action.Warnings, result3 error) {
   142  	fake.GetApplicationSummaryByNameAndSpaceStub = nil
   143  	fake.getApplicationSummaryByNameAndSpaceReturns = struct {
   144  		result1 v3action.ApplicationSummary
   145  		result2 v3action.Warnings
   146  		result3 error
   147  	}{result1, result2, result3}
   148  }
   149  
   150  func (fake *FakeV3ScaleActor) GetApplicationSummaryByNameAndSpaceReturnsOnCall(i int, result1 v3action.ApplicationSummary, result2 v3action.Warnings, result3 error) {
   151  	fake.GetApplicationSummaryByNameAndSpaceStub = nil
   152  	if fake.getApplicationSummaryByNameAndSpaceReturnsOnCall == nil {
   153  		fake.getApplicationSummaryByNameAndSpaceReturnsOnCall = make(map[int]struct {
   154  			result1 v3action.ApplicationSummary
   155  			result2 v3action.Warnings
   156  			result3 error
   157  		})
   158  	}
   159  	fake.getApplicationSummaryByNameAndSpaceReturnsOnCall[i] = struct {
   160  		result1 v3action.ApplicationSummary
   161  		result2 v3action.Warnings
   162  		result3 error
   163  	}{result1, result2, result3}
   164  }
   165  
   166  func (fake *FakeV3ScaleActor) CloudControllerAPIVersion() string {
   167  	fake.cloudControllerAPIVersionMutex.Lock()
   168  	ret, specificReturn := fake.cloudControllerAPIVersionReturnsOnCall[len(fake.cloudControllerAPIVersionArgsForCall)]
   169  	fake.cloudControllerAPIVersionArgsForCall = append(fake.cloudControllerAPIVersionArgsForCall, struct{}{})
   170  	fake.recordInvocation("CloudControllerAPIVersion", []interface{}{})
   171  	fake.cloudControllerAPIVersionMutex.Unlock()
   172  	if fake.CloudControllerAPIVersionStub != nil {
   173  		return fake.CloudControllerAPIVersionStub()
   174  	}
   175  	if specificReturn {
   176  		return ret.result1
   177  	}
   178  	return fake.cloudControllerAPIVersionReturns.result1
   179  }
   180  
   181  func (fake *FakeV3ScaleActor) CloudControllerAPIVersionCallCount() int {
   182  	fake.cloudControllerAPIVersionMutex.RLock()
   183  	defer fake.cloudControllerAPIVersionMutex.RUnlock()
   184  	return len(fake.cloudControllerAPIVersionArgsForCall)
   185  }
   186  
   187  func (fake *FakeV3ScaleActor) CloudControllerAPIVersionReturns(result1 string) {
   188  	fake.CloudControllerAPIVersionStub = nil
   189  	fake.cloudControllerAPIVersionReturns = struct {
   190  		result1 string
   191  	}{result1}
   192  }
   193  
   194  func (fake *FakeV3ScaleActor) CloudControllerAPIVersionReturnsOnCall(i int, result1 string) {
   195  	fake.CloudControllerAPIVersionStub = nil
   196  	if fake.cloudControllerAPIVersionReturnsOnCall == nil {
   197  		fake.cloudControllerAPIVersionReturnsOnCall = make(map[int]struct {
   198  			result1 string
   199  		})
   200  	}
   201  	fake.cloudControllerAPIVersionReturnsOnCall[i] = struct {
   202  		result1 string
   203  	}{result1}
   204  }
   205  
   206  func (fake *FakeV3ScaleActor) GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error) {
   207  	fake.getApplicationByNameAndSpaceMutex.Lock()
   208  	ret, specificReturn := fake.getApplicationByNameAndSpaceReturnsOnCall[len(fake.getApplicationByNameAndSpaceArgsForCall)]
   209  	fake.getApplicationByNameAndSpaceArgsForCall = append(fake.getApplicationByNameAndSpaceArgsForCall, struct {
   210  		appName   string
   211  		spaceGUID string
   212  	}{appName, spaceGUID})
   213  	fake.recordInvocation("GetApplicationByNameAndSpace", []interface{}{appName, spaceGUID})
   214  	fake.getApplicationByNameAndSpaceMutex.Unlock()
   215  	if fake.GetApplicationByNameAndSpaceStub != nil {
   216  		return fake.GetApplicationByNameAndSpaceStub(appName, spaceGUID)
   217  	}
   218  	if specificReturn {
   219  		return ret.result1, ret.result2, ret.result3
   220  	}
   221  	return fake.getApplicationByNameAndSpaceReturns.result1, fake.getApplicationByNameAndSpaceReturns.result2, fake.getApplicationByNameAndSpaceReturns.result3
   222  }
   223  
   224  func (fake *FakeV3ScaleActor) GetApplicationByNameAndSpaceCallCount() int {
   225  	fake.getApplicationByNameAndSpaceMutex.RLock()
   226  	defer fake.getApplicationByNameAndSpaceMutex.RUnlock()
   227  	return len(fake.getApplicationByNameAndSpaceArgsForCall)
   228  }
   229  
   230  func (fake *FakeV3ScaleActor) GetApplicationByNameAndSpaceArgsForCall(i int) (string, string) {
   231  	fake.getApplicationByNameAndSpaceMutex.RLock()
   232  	defer fake.getApplicationByNameAndSpaceMutex.RUnlock()
   233  	return fake.getApplicationByNameAndSpaceArgsForCall[i].appName, fake.getApplicationByNameAndSpaceArgsForCall[i].spaceGUID
   234  }
   235  
   236  func (fake *FakeV3ScaleActor) GetApplicationByNameAndSpaceReturns(result1 v3action.Application, result2 v3action.Warnings, result3 error) {
   237  	fake.GetApplicationByNameAndSpaceStub = nil
   238  	fake.getApplicationByNameAndSpaceReturns = struct {
   239  		result1 v3action.Application
   240  		result2 v3action.Warnings
   241  		result3 error
   242  	}{result1, result2, result3}
   243  }
   244  
   245  func (fake *FakeV3ScaleActor) GetApplicationByNameAndSpaceReturnsOnCall(i int, result1 v3action.Application, result2 v3action.Warnings, result3 error) {
   246  	fake.GetApplicationByNameAndSpaceStub = nil
   247  	if fake.getApplicationByNameAndSpaceReturnsOnCall == nil {
   248  		fake.getApplicationByNameAndSpaceReturnsOnCall = make(map[int]struct {
   249  			result1 v3action.Application
   250  			result2 v3action.Warnings
   251  			result3 error
   252  		})
   253  	}
   254  	fake.getApplicationByNameAndSpaceReturnsOnCall[i] = struct {
   255  		result1 v3action.Application
   256  		result2 v3action.Warnings
   257  		result3 error
   258  	}{result1, result2, result3}
   259  }
   260  
   261  func (fake *FakeV3ScaleActor) ScaleProcessByApplication(appGUID string, process v3action.Process) (v3action.Warnings, error) {
   262  	fake.scaleProcessByApplicationMutex.Lock()
   263  	ret, specificReturn := fake.scaleProcessByApplicationReturnsOnCall[len(fake.scaleProcessByApplicationArgsForCall)]
   264  	fake.scaleProcessByApplicationArgsForCall = append(fake.scaleProcessByApplicationArgsForCall, struct {
   265  		appGUID string
   266  		process v3action.Process
   267  	}{appGUID, process})
   268  	fake.recordInvocation("ScaleProcessByApplication", []interface{}{appGUID, process})
   269  	fake.scaleProcessByApplicationMutex.Unlock()
   270  	if fake.ScaleProcessByApplicationStub != nil {
   271  		return fake.ScaleProcessByApplicationStub(appGUID, process)
   272  	}
   273  	if specificReturn {
   274  		return ret.result1, ret.result2
   275  	}
   276  	return fake.scaleProcessByApplicationReturns.result1, fake.scaleProcessByApplicationReturns.result2
   277  }
   278  
   279  func (fake *FakeV3ScaleActor) ScaleProcessByApplicationCallCount() int {
   280  	fake.scaleProcessByApplicationMutex.RLock()
   281  	defer fake.scaleProcessByApplicationMutex.RUnlock()
   282  	return len(fake.scaleProcessByApplicationArgsForCall)
   283  }
   284  
   285  func (fake *FakeV3ScaleActor) ScaleProcessByApplicationArgsForCall(i int) (string, v3action.Process) {
   286  	fake.scaleProcessByApplicationMutex.RLock()
   287  	defer fake.scaleProcessByApplicationMutex.RUnlock()
   288  	return fake.scaleProcessByApplicationArgsForCall[i].appGUID, fake.scaleProcessByApplicationArgsForCall[i].process
   289  }
   290  
   291  func (fake *FakeV3ScaleActor) ScaleProcessByApplicationReturns(result1 v3action.Warnings, result2 error) {
   292  	fake.ScaleProcessByApplicationStub = nil
   293  	fake.scaleProcessByApplicationReturns = struct {
   294  		result1 v3action.Warnings
   295  		result2 error
   296  	}{result1, result2}
   297  }
   298  
   299  func (fake *FakeV3ScaleActor) ScaleProcessByApplicationReturnsOnCall(i int, result1 v3action.Warnings, result2 error) {
   300  	fake.ScaleProcessByApplicationStub = nil
   301  	if fake.scaleProcessByApplicationReturnsOnCall == nil {
   302  		fake.scaleProcessByApplicationReturnsOnCall = make(map[int]struct {
   303  			result1 v3action.Warnings
   304  			result2 error
   305  		})
   306  	}
   307  	fake.scaleProcessByApplicationReturnsOnCall[i] = struct {
   308  		result1 v3action.Warnings
   309  		result2 error
   310  	}{result1, result2}
   311  }
   312  
   313  func (fake *FakeV3ScaleActor) StopApplication(appGUID string) (v3action.Warnings, error) {
   314  	fake.stopApplicationMutex.Lock()
   315  	ret, specificReturn := fake.stopApplicationReturnsOnCall[len(fake.stopApplicationArgsForCall)]
   316  	fake.stopApplicationArgsForCall = append(fake.stopApplicationArgsForCall, struct {
   317  		appGUID string
   318  	}{appGUID})
   319  	fake.recordInvocation("StopApplication", []interface{}{appGUID})
   320  	fake.stopApplicationMutex.Unlock()
   321  	if fake.StopApplicationStub != nil {
   322  		return fake.StopApplicationStub(appGUID)
   323  	}
   324  	if specificReturn {
   325  		return ret.result1, ret.result2
   326  	}
   327  	return fake.stopApplicationReturns.result1, fake.stopApplicationReturns.result2
   328  }
   329  
   330  func (fake *FakeV3ScaleActor) StopApplicationCallCount() int {
   331  	fake.stopApplicationMutex.RLock()
   332  	defer fake.stopApplicationMutex.RUnlock()
   333  	return len(fake.stopApplicationArgsForCall)
   334  }
   335  
   336  func (fake *FakeV3ScaleActor) StopApplicationArgsForCall(i int) string {
   337  	fake.stopApplicationMutex.RLock()
   338  	defer fake.stopApplicationMutex.RUnlock()
   339  	return fake.stopApplicationArgsForCall[i].appGUID
   340  }
   341  
   342  func (fake *FakeV3ScaleActor) StopApplicationReturns(result1 v3action.Warnings, result2 error) {
   343  	fake.StopApplicationStub = nil
   344  	fake.stopApplicationReturns = struct {
   345  		result1 v3action.Warnings
   346  		result2 error
   347  	}{result1, result2}
   348  }
   349  
   350  func (fake *FakeV3ScaleActor) StopApplicationReturnsOnCall(i int, result1 v3action.Warnings, result2 error) {
   351  	fake.StopApplicationStub = nil
   352  	if fake.stopApplicationReturnsOnCall == nil {
   353  		fake.stopApplicationReturnsOnCall = make(map[int]struct {
   354  			result1 v3action.Warnings
   355  			result2 error
   356  		})
   357  	}
   358  	fake.stopApplicationReturnsOnCall[i] = struct {
   359  		result1 v3action.Warnings
   360  		result2 error
   361  	}{result1, result2}
   362  }
   363  
   364  func (fake *FakeV3ScaleActor) StartApplication(appGUID string) (v3action.Application, v3action.Warnings, error) {
   365  	fake.startApplicationMutex.Lock()
   366  	ret, specificReturn := fake.startApplicationReturnsOnCall[len(fake.startApplicationArgsForCall)]
   367  	fake.startApplicationArgsForCall = append(fake.startApplicationArgsForCall, struct {
   368  		appGUID string
   369  	}{appGUID})
   370  	fake.recordInvocation("StartApplication", []interface{}{appGUID})
   371  	fake.startApplicationMutex.Unlock()
   372  	if fake.StartApplicationStub != nil {
   373  		return fake.StartApplicationStub(appGUID)
   374  	}
   375  	if specificReturn {
   376  		return ret.result1, ret.result2, ret.result3
   377  	}
   378  	return fake.startApplicationReturns.result1, fake.startApplicationReturns.result2, fake.startApplicationReturns.result3
   379  }
   380  
   381  func (fake *FakeV3ScaleActor) StartApplicationCallCount() int {
   382  	fake.startApplicationMutex.RLock()
   383  	defer fake.startApplicationMutex.RUnlock()
   384  	return len(fake.startApplicationArgsForCall)
   385  }
   386  
   387  func (fake *FakeV3ScaleActor) StartApplicationArgsForCall(i int) string {
   388  	fake.startApplicationMutex.RLock()
   389  	defer fake.startApplicationMutex.RUnlock()
   390  	return fake.startApplicationArgsForCall[i].appGUID
   391  }
   392  
   393  func (fake *FakeV3ScaleActor) StartApplicationReturns(result1 v3action.Application, result2 v3action.Warnings, result3 error) {
   394  	fake.StartApplicationStub = nil
   395  	fake.startApplicationReturns = struct {
   396  		result1 v3action.Application
   397  		result2 v3action.Warnings
   398  		result3 error
   399  	}{result1, result2, result3}
   400  }
   401  
   402  func (fake *FakeV3ScaleActor) StartApplicationReturnsOnCall(i int, result1 v3action.Application, result2 v3action.Warnings, result3 error) {
   403  	fake.StartApplicationStub = nil
   404  	if fake.startApplicationReturnsOnCall == nil {
   405  		fake.startApplicationReturnsOnCall = make(map[int]struct {
   406  			result1 v3action.Application
   407  			result2 v3action.Warnings
   408  			result3 error
   409  		})
   410  	}
   411  	fake.startApplicationReturnsOnCall[i] = struct {
   412  		result1 v3action.Application
   413  		result2 v3action.Warnings
   414  		result3 error
   415  	}{result1, result2, result3}
   416  }
   417  
   418  func (fake *FakeV3ScaleActor) PollStart(appGUID string, warnings chan<- v3action.Warnings) error {
   419  	fake.pollStartMutex.Lock()
   420  	ret, specificReturn := fake.pollStartReturnsOnCall[len(fake.pollStartArgsForCall)]
   421  	fake.pollStartArgsForCall = append(fake.pollStartArgsForCall, struct {
   422  		appGUID  string
   423  		warnings chan<- v3action.Warnings
   424  	}{appGUID, warnings})
   425  	fake.recordInvocation("PollStart", []interface{}{appGUID, warnings})
   426  	fake.pollStartMutex.Unlock()
   427  	if fake.PollStartStub != nil {
   428  		return fake.PollStartStub(appGUID, warnings)
   429  	}
   430  	if specificReturn {
   431  		return ret.result1
   432  	}
   433  	return fake.pollStartReturns.result1
   434  }
   435  
   436  func (fake *FakeV3ScaleActor) PollStartCallCount() int {
   437  	fake.pollStartMutex.RLock()
   438  	defer fake.pollStartMutex.RUnlock()
   439  	return len(fake.pollStartArgsForCall)
   440  }
   441  
   442  func (fake *FakeV3ScaleActor) PollStartArgsForCall(i int) (string, chan<- v3action.Warnings) {
   443  	fake.pollStartMutex.RLock()
   444  	defer fake.pollStartMutex.RUnlock()
   445  	return fake.pollStartArgsForCall[i].appGUID, fake.pollStartArgsForCall[i].warnings
   446  }
   447  
   448  func (fake *FakeV3ScaleActor) PollStartReturns(result1 error) {
   449  	fake.PollStartStub = nil
   450  	fake.pollStartReturns = struct {
   451  		result1 error
   452  	}{result1}
   453  }
   454  
   455  func (fake *FakeV3ScaleActor) PollStartReturnsOnCall(i int, result1 error) {
   456  	fake.PollStartStub = nil
   457  	if fake.pollStartReturnsOnCall == nil {
   458  		fake.pollStartReturnsOnCall = make(map[int]struct {
   459  			result1 error
   460  		})
   461  	}
   462  	fake.pollStartReturnsOnCall[i] = struct {
   463  		result1 error
   464  	}{result1}
   465  }
   466  
   467  func (fake *FakeV3ScaleActor) Invocations() map[string][][]interface{} {
   468  	fake.invocationsMutex.RLock()
   469  	defer fake.invocationsMutex.RUnlock()
   470  	fake.getApplicationSummaryByNameAndSpaceMutex.RLock()
   471  	defer fake.getApplicationSummaryByNameAndSpaceMutex.RUnlock()
   472  	fake.cloudControllerAPIVersionMutex.RLock()
   473  	defer fake.cloudControllerAPIVersionMutex.RUnlock()
   474  	fake.getApplicationByNameAndSpaceMutex.RLock()
   475  	defer fake.getApplicationByNameAndSpaceMutex.RUnlock()
   476  	fake.scaleProcessByApplicationMutex.RLock()
   477  	defer fake.scaleProcessByApplicationMutex.RUnlock()
   478  	fake.stopApplicationMutex.RLock()
   479  	defer fake.stopApplicationMutex.RUnlock()
   480  	fake.startApplicationMutex.RLock()
   481  	defer fake.startApplicationMutex.RUnlock()
   482  	fake.pollStartMutex.RLock()
   483  	defer fake.pollStartMutex.RUnlock()
   484  	copiedInvocations := map[string][][]interface{}{}
   485  	for key, value := range fake.invocations {
   486  		copiedInvocations[key] = value
   487  	}
   488  	return copiedInvocations
   489  }
   490  
   491  func (fake *FakeV3ScaleActor) recordInvocation(key string, args []interface{}) {
   492  	fake.invocationsMutex.Lock()
   493  	defer fake.invocationsMutex.Unlock()
   494  	if fake.invocations == nil {
   495  		fake.invocations = map[string][][]interface{}{}
   496  	}
   497  	if fake.invocations[key] == nil {
   498  		fake.invocations[key] = [][]interface{}{}
   499  	}
   500  	fake.invocations[key] = append(fake.invocations[key], args)
   501  }
   502  
   503  var _ v3.V3ScaleActor = new(FakeV3ScaleActor)