github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/actor/v7pushaction/v7pushactionfakes/fake_v7actor.go (about)

     1  // Code generated by counterfeiter. DO NOT EDIT.
     2  package v7pushactionfakes
     3  
     4  import (
     5  	"io"
     6  	"sync"
     7  
     8  	"code.cloudfoundry.org/cli/actor/sharedaction"
     9  	"code.cloudfoundry.org/cli/actor/v7action"
    10  	"code.cloudfoundry.org/cli/actor/v7pushaction"
    11  )
    12  
    13  type FakeV7Actor struct {
    14  	CreateApplicationDropletStub        func(string) (v7action.Droplet, v7action.Warnings, error)
    15  	createApplicationDropletMutex       sync.RWMutex
    16  	createApplicationDropletArgsForCall []struct {
    17  		arg1 string
    18  	}
    19  	createApplicationDropletReturns struct {
    20  		result1 v7action.Droplet
    21  		result2 v7action.Warnings
    22  		result3 error
    23  	}
    24  	createApplicationDropletReturnsOnCall map[int]struct {
    25  		result1 v7action.Droplet
    26  		result2 v7action.Warnings
    27  		result3 error
    28  	}
    29  	CreateApplicationInSpaceStub        func(v7action.Application, string) (v7action.Application, v7action.Warnings, error)
    30  	createApplicationInSpaceMutex       sync.RWMutex
    31  	createApplicationInSpaceArgsForCall []struct {
    32  		arg1 v7action.Application
    33  		arg2 string
    34  	}
    35  	createApplicationInSpaceReturns struct {
    36  		result1 v7action.Application
    37  		result2 v7action.Warnings
    38  		result3 error
    39  	}
    40  	createApplicationInSpaceReturnsOnCall map[int]struct {
    41  		result1 v7action.Application
    42  		result2 v7action.Warnings
    43  		result3 error
    44  	}
    45  	CreateBitsPackageByApplicationStub        func(string) (v7action.Package, v7action.Warnings, error)
    46  	createBitsPackageByApplicationMutex       sync.RWMutex
    47  	createBitsPackageByApplicationArgsForCall []struct {
    48  		arg1 string
    49  	}
    50  	createBitsPackageByApplicationReturns struct {
    51  		result1 v7action.Package
    52  		result2 v7action.Warnings
    53  		result3 error
    54  	}
    55  	createBitsPackageByApplicationReturnsOnCall map[int]struct {
    56  		result1 v7action.Package
    57  		result2 v7action.Warnings
    58  		result3 error
    59  	}
    60  	CreateDeploymentStub        func(string, string) (string, v7action.Warnings, error)
    61  	createDeploymentMutex       sync.RWMutex
    62  	createDeploymentArgsForCall []struct {
    63  		arg1 string
    64  		arg2 string
    65  	}
    66  	createDeploymentReturns struct {
    67  		result1 string
    68  		result2 v7action.Warnings
    69  		result3 error
    70  	}
    71  	createDeploymentReturnsOnCall map[int]struct {
    72  		result1 string
    73  		result2 v7action.Warnings
    74  		result3 error
    75  	}
    76  	CreateDockerPackageByApplicationStub        func(string, v7action.DockerImageCredentials) (v7action.Package, v7action.Warnings, error)
    77  	createDockerPackageByApplicationMutex       sync.RWMutex
    78  	createDockerPackageByApplicationArgsForCall []struct {
    79  		arg1 string
    80  		arg2 v7action.DockerImageCredentials
    81  	}
    82  	createDockerPackageByApplicationReturns struct {
    83  		result1 v7action.Package
    84  		result2 v7action.Warnings
    85  		result3 error
    86  	}
    87  	createDockerPackageByApplicationReturnsOnCall map[int]struct {
    88  		result1 v7action.Package
    89  		result2 v7action.Warnings
    90  		result3 error
    91  	}
    92  	CreateRouteStub        func(string, string, string, string) (v7action.Route, v7action.Warnings, error)
    93  	createRouteMutex       sync.RWMutex
    94  	createRouteArgsForCall []struct {
    95  		arg1 string
    96  		arg2 string
    97  		arg3 string
    98  		arg4 string
    99  	}
   100  	createRouteReturns struct {
   101  		result1 v7action.Route
   102  		result2 v7action.Warnings
   103  		result3 error
   104  	}
   105  	createRouteReturnsOnCall map[int]struct {
   106  		result1 v7action.Route
   107  		result2 v7action.Warnings
   108  		result3 error
   109  	}
   110  	GetApplicationByNameAndSpaceStub        func(string, string) (v7action.Application, v7action.Warnings, error)
   111  	getApplicationByNameAndSpaceMutex       sync.RWMutex
   112  	getApplicationByNameAndSpaceArgsForCall []struct {
   113  		arg1 string
   114  		arg2 string
   115  	}
   116  	getApplicationByNameAndSpaceReturns struct {
   117  		result1 v7action.Application
   118  		result2 v7action.Warnings
   119  		result3 error
   120  	}
   121  	getApplicationByNameAndSpaceReturnsOnCall map[int]struct {
   122  		result1 v7action.Application
   123  		result2 v7action.Warnings
   124  		result3 error
   125  	}
   126  	GetApplicationDropletsStub        func(string, string) ([]v7action.Droplet, v7action.Warnings, error)
   127  	getApplicationDropletsMutex       sync.RWMutex
   128  	getApplicationDropletsArgsForCall []struct {
   129  		arg1 string
   130  		arg2 string
   131  	}
   132  	getApplicationDropletsReturns struct {
   133  		result1 []v7action.Droplet
   134  		result2 v7action.Warnings
   135  		result3 error
   136  	}
   137  	getApplicationDropletsReturnsOnCall map[int]struct {
   138  		result1 []v7action.Droplet
   139  		result2 v7action.Warnings
   140  		result3 error
   141  	}
   142  	GetApplicationRoutesStub        func(string) ([]v7action.Route, v7action.Warnings, error)
   143  	getApplicationRoutesMutex       sync.RWMutex
   144  	getApplicationRoutesArgsForCall []struct {
   145  		arg1 string
   146  	}
   147  	getApplicationRoutesReturns struct {
   148  		result1 []v7action.Route
   149  		result2 v7action.Warnings
   150  		result3 error
   151  	}
   152  	getApplicationRoutesReturnsOnCall map[int]struct {
   153  		result1 []v7action.Route
   154  		result2 v7action.Warnings
   155  		result3 error
   156  	}
   157  	GetApplicationsByNamesAndSpaceStub        func([]string, string) ([]v7action.Application, v7action.Warnings, error)
   158  	getApplicationsByNamesAndSpaceMutex       sync.RWMutex
   159  	getApplicationsByNamesAndSpaceArgsForCall []struct {
   160  		arg1 []string
   161  		arg2 string
   162  	}
   163  	getApplicationsByNamesAndSpaceReturns struct {
   164  		result1 []v7action.Application
   165  		result2 v7action.Warnings
   166  		result3 error
   167  	}
   168  	getApplicationsByNamesAndSpaceReturnsOnCall map[int]struct {
   169  		result1 []v7action.Application
   170  		result2 v7action.Warnings
   171  		result3 error
   172  	}
   173  	GetDefaultDomainStub        func(string) (v7action.Domain, v7action.Warnings, error)
   174  	getDefaultDomainMutex       sync.RWMutex
   175  	getDefaultDomainArgsForCall []struct {
   176  		arg1 string
   177  	}
   178  	getDefaultDomainReturns struct {
   179  		result1 v7action.Domain
   180  		result2 v7action.Warnings
   181  		result3 error
   182  	}
   183  	getDefaultDomainReturnsOnCall map[int]struct {
   184  		result1 v7action.Domain
   185  		result2 v7action.Warnings
   186  		result3 error
   187  	}
   188  	GetDomainStub        func(string) (v7action.Domain, v7action.Warnings, error)
   189  	getDomainMutex       sync.RWMutex
   190  	getDomainArgsForCall []struct {
   191  		arg1 string
   192  	}
   193  	getDomainReturns struct {
   194  		result1 v7action.Domain
   195  		result2 v7action.Warnings
   196  		result3 error
   197  	}
   198  	getDomainReturnsOnCall map[int]struct {
   199  		result1 v7action.Domain
   200  		result2 v7action.Warnings
   201  		result3 error
   202  	}
   203  	GetRouteByAttributesStub        func(string, string, string, string) (v7action.Route, v7action.Warnings, error)
   204  	getRouteByAttributesMutex       sync.RWMutex
   205  	getRouteByAttributesArgsForCall []struct {
   206  		arg1 string
   207  		arg2 string
   208  		arg3 string
   209  		arg4 string
   210  	}
   211  	getRouteByAttributesReturns struct {
   212  		result1 v7action.Route
   213  		result2 v7action.Warnings
   214  		result3 error
   215  	}
   216  	getRouteByAttributesReturnsOnCall map[int]struct {
   217  		result1 v7action.Route
   218  		result2 v7action.Warnings
   219  		result3 error
   220  	}
   221  	GetRouteDestinationByAppGUIDStub        func(string, string) (v7action.RouteDestination, v7action.Warnings, error)
   222  	getRouteDestinationByAppGUIDMutex       sync.RWMutex
   223  	getRouteDestinationByAppGUIDArgsForCall []struct {
   224  		arg1 string
   225  		arg2 string
   226  	}
   227  	getRouteDestinationByAppGUIDReturns struct {
   228  		result1 v7action.RouteDestination
   229  		result2 v7action.Warnings
   230  		result3 error
   231  	}
   232  	getRouteDestinationByAppGUIDReturnsOnCall map[int]struct {
   233  		result1 v7action.RouteDestination
   234  		result2 v7action.Warnings
   235  		result3 error
   236  	}
   237  	MapRouteStub        func(string, string) (v7action.Warnings, error)
   238  	mapRouteMutex       sync.RWMutex
   239  	mapRouteArgsForCall []struct {
   240  		arg1 string
   241  		arg2 string
   242  	}
   243  	mapRouteReturns struct {
   244  		result1 v7action.Warnings
   245  		result2 error
   246  	}
   247  	mapRouteReturnsOnCall map[int]struct {
   248  		result1 v7action.Warnings
   249  		result2 error
   250  	}
   251  	PollBuildStub        func(string, string) (v7action.Droplet, v7action.Warnings, error)
   252  	pollBuildMutex       sync.RWMutex
   253  	pollBuildArgsForCall []struct {
   254  		arg1 string
   255  		arg2 string
   256  	}
   257  	pollBuildReturns struct {
   258  		result1 v7action.Droplet
   259  		result2 v7action.Warnings
   260  		result3 error
   261  	}
   262  	pollBuildReturnsOnCall map[int]struct {
   263  		result1 v7action.Droplet
   264  		result2 v7action.Warnings
   265  		result3 error
   266  	}
   267  	PollPackageStub        func(v7action.Package) (v7action.Package, v7action.Warnings, error)
   268  	pollPackageMutex       sync.RWMutex
   269  	pollPackageArgsForCall []struct {
   270  		arg1 v7action.Package
   271  	}
   272  	pollPackageReturns struct {
   273  		result1 v7action.Package
   274  		result2 v7action.Warnings
   275  		result3 error
   276  	}
   277  	pollPackageReturnsOnCall map[int]struct {
   278  		result1 v7action.Package
   279  		result2 v7action.Warnings
   280  		result3 error
   281  	}
   282  	PollStartStub        func(string, bool) (v7action.Warnings, error)
   283  	pollStartMutex       sync.RWMutex
   284  	pollStartArgsForCall []struct {
   285  		arg1 string
   286  		arg2 bool
   287  	}
   288  	pollStartReturns struct {
   289  		result1 v7action.Warnings
   290  		result2 error
   291  	}
   292  	pollStartReturnsOnCall map[int]struct {
   293  		result1 v7action.Warnings
   294  		result2 error
   295  	}
   296  	PollStartForRollingStub        func(string, string, bool) (v7action.Warnings, error)
   297  	pollStartForRollingMutex       sync.RWMutex
   298  	pollStartForRollingArgsForCall []struct {
   299  		arg1 string
   300  		arg2 string
   301  		arg3 bool
   302  	}
   303  	pollStartForRollingReturns struct {
   304  		result1 v7action.Warnings
   305  		result2 error
   306  	}
   307  	pollStartForRollingReturnsOnCall map[int]struct {
   308  		result1 v7action.Warnings
   309  		result2 error
   310  	}
   311  	ResourceMatchStub        func([]sharedaction.V3Resource) ([]sharedaction.V3Resource, v7action.Warnings, error)
   312  	resourceMatchMutex       sync.RWMutex
   313  	resourceMatchArgsForCall []struct {
   314  		arg1 []sharedaction.V3Resource
   315  	}
   316  	resourceMatchReturns struct {
   317  		result1 []sharedaction.V3Resource
   318  		result2 v7action.Warnings
   319  		result3 error
   320  	}
   321  	resourceMatchReturnsOnCall map[int]struct {
   322  		result1 []sharedaction.V3Resource
   323  		result2 v7action.Warnings
   324  		result3 error
   325  	}
   326  	RestartApplicationStub        func(string, bool) (v7action.Warnings, error)
   327  	restartApplicationMutex       sync.RWMutex
   328  	restartApplicationArgsForCall []struct {
   329  		arg1 string
   330  		arg2 bool
   331  	}
   332  	restartApplicationReturns struct {
   333  		result1 v7action.Warnings
   334  		result2 error
   335  	}
   336  	restartApplicationReturnsOnCall map[int]struct {
   337  		result1 v7action.Warnings
   338  		result2 error
   339  	}
   340  	ScaleProcessByApplicationStub        func(string, v7action.Process) (v7action.Warnings, error)
   341  	scaleProcessByApplicationMutex       sync.RWMutex
   342  	scaleProcessByApplicationArgsForCall []struct {
   343  		arg1 string
   344  		arg2 v7action.Process
   345  	}
   346  	scaleProcessByApplicationReturns struct {
   347  		result1 v7action.Warnings
   348  		result2 error
   349  	}
   350  	scaleProcessByApplicationReturnsOnCall map[int]struct {
   351  		result1 v7action.Warnings
   352  		result2 error
   353  	}
   354  	SetApplicationDropletStub        func(string, string) (v7action.Warnings, error)
   355  	setApplicationDropletMutex       sync.RWMutex
   356  	setApplicationDropletArgsForCall []struct {
   357  		arg1 string
   358  		arg2 string
   359  	}
   360  	setApplicationDropletReturns struct {
   361  		result1 v7action.Warnings
   362  		result2 error
   363  	}
   364  	setApplicationDropletReturnsOnCall map[int]struct {
   365  		result1 v7action.Warnings
   366  		result2 error
   367  	}
   368  	SetApplicationManifestStub        func(string, []byte) (v7action.Warnings, error)
   369  	setApplicationManifestMutex       sync.RWMutex
   370  	setApplicationManifestArgsForCall []struct {
   371  		arg1 string
   372  		arg2 []byte
   373  	}
   374  	setApplicationManifestReturns struct {
   375  		result1 v7action.Warnings
   376  		result2 error
   377  	}
   378  	setApplicationManifestReturnsOnCall map[int]struct {
   379  		result1 v7action.Warnings
   380  		result2 error
   381  	}
   382  	SetSpaceManifestStub        func(string, []byte) (v7action.Warnings, error)
   383  	setSpaceManifestMutex       sync.RWMutex
   384  	setSpaceManifestArgsForCall []struct {
   385  		arg1 string
   386  		arg2 []byte
   387  	}
   388  	setSpaceManifestReturns struct {
   389  		result1 v7action.Warnings
   390  		result2 error
   391  	}
   392  	setSpaceManifestReturnsOnCall map[int]struct {
   393  		result1 v7action.Warnings
   394  		result2 error
   395  	}
   396  	StageApplicationPackageStub        func(string) (v7action.Build, v7action.Warnings, error)
   397  	stageApplicationPackageMutex       sync.RWMutex
   398  	stageApplicationPackageArgsForCall []struct {
   399  		arg1 string
   400  	}
   401  	stageApplicationPackageReturns struct {
   402  		result1 v7action.Build
   403  		result2 v7action.Warnings
   404  		result3 error
   405  	}
   406  	stageApplicationPackageReturnsOnCall map[int]struct {
   407  		result1 v7action.Build
   408  		result2 v7action.Warnings
   409  		result3 error
   410  	}
   411  	StopApplicationStub        func(string) (v7action.Warnings, error)
   412  	stopApplicationMutex       sync.RWMutex
   413  	stopApplicationArgsForCall []struct {
   414  		arg1 string
   415  	}
   416  	stopApplicationReturns struct {
   417  		result1 v7action.Warnings
   418  		result2 error
   419  	}
   420  	stopApplicationReturnsOnCall map[int]struct {
   421  		result1 v7action.Warnings
   422  		result2 error
   423  	}
   424  	UnmapRouteStub        func(string, string) (v7action.Warnings, error)
   425  	unmapRouteMutex       sync.RWMutex
   426  	unmapRouteArgsForCall []struct {
   427  		arg1 string
   428  		arg2 string
   429  	}
   430  	unmapRouteReturns struct {
   431  		result1 v7action.Warnings
   432  		result2 error
   433  	}
   434  	unmapRouteReturnsOnCall map[int]struct {
   435  		result1 v7action.Warnings
   436  		result2 error
   437  	}
   438  	UpdateApplicationStub        func(v7action.Application) (v7action.Application, v7action.Warnings, error)
   439  	updateApplicationMutex       sync.RWMutex
   440  	updateApplicationArgsForCall []struct {
   441  		arg1 v7action.Application
   442  	}
   443  	updateApplicationReturns struct {
   444  		result1 v7action.Application
   445  		result2 v7action.Warnings
   446  		result3 error
   447  	}
   448  	updateApplicationReturnsOnCall map[int]struct {
   449  		result1 v7action.Application
   450  		result2 v7action.Warnings
   451  		result3 error
   452  	}
   453  	UpdateProcessByTypeAndApplicationStub        func(string, string, v7action.Process) (v7action.Warnings, error)
   454  	updateProcessByTypeAndApplicationMutex       sync.RWMutex
   455  	updateProcessByTypeAndApplicationArgsForCall []struct {
   456  		arg1 string
   457  		arg2 string
   458  		arg3 v7action.Process
   459  	}
   460  	updateProcessByTypeAndApplicationReturns struct {
   461  		result1 v7action.Warnings
   462  		result2 error
   463  	}
   464  	updateProcessByTypeAndApplicationReturnsOnCall map[int]struct {
   465  		result1 v7action.Warnings
   466  		result2 error
   467  	}
   468  	UploadBitsPackageStub        func(v7action.Package, []sharedaction.V3Resource, io.Reader, int64) (v7action.Package, v7action.Warnings, error)
   469  	uploadBitsPackageMutex       sync.RWMutex
   470  	uploadBitsPackageArgsForCall []struct {
   471  		arg1 v7action.Package
   472  		arg2 []sharedaction.V3Resource
   473  		arg3 io.Reader
   474  		arg4 int64
   475  	}
   476  	uploadBitsPackageReturns struct {
   477  		result1 v7action.Package
   478  		result2 v7action.Warnings
   479  		result3 error
   480  	}
   481  	uploadBitsPackageReturnsOnCall map[int]struct {
   482  		result1 v7action.Package
   483  		result2 v7action.Warnings
   484  		result3 error
   485  	}
   486  	UploadDropletStub        func(string, string, io.Reader, int64) (v7action.Warnings, error)
   487  	uploadDropletMutex       sync.RWMutex
   488  	uploadDropletArgsForCall []struct {
   489  		arg1 string
   490  		arg2 string
   491  		arg3 io.Reader
   492  		arg4 int64
   493  	}
   494  	uploadDropletReturns struct {
   495  		result1 v7action.Warnings
   496  		result2 error
   497  	}
   498  	uploadDropletReturnsOnCall map[int]struct {
   499  		result1 v7action.Warnings
   500  		result2 error
   501  	}
   502  	invocations      map[string][][]interface{}
   503  	invocationsMutex sync.RWMutex
   504  }
   505  
   506  func (fake *FakeV7Actor) CreateApplicationDroplet(arg1 string) (v7action.Droplet, v7action.Warnings, error) {
   507  	fake.createApplicationDropletMutex.Lock()
   508  	ret, specificReturn := fake.createApplicationDropletReturnsOnCall[len(fake.createApplicationDropletArgsForCall)]
   509  	fake.createApplicationDropletArgsForCall = append(fake.createApplicationDropletArgsForCall, struct {
   510  		arg1 string
   511  	}{arg1})
   512  	fake.recordInvocation("CreateApplicationDroplet", []interface{}{arg1})
   513  	fake.createApplicationDropletMutex.Unlock()
   514  	if fake.CreateApplicationDropletStub != nil {
   515  		return fake.CreateApplicationDropletStub(arg1)
   516  	}
   517  	if specificReturn {
   518  		return ret.result1, ret.result2, ret.result3
   519  	}
   520  	fakeReturns := fake.createApplicationDropletReturns
   521  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
   522  }
   523  
   524  func (fake *FakeV7Actor) CreateApplicationDropletCallCount() int {
   525  	fake.createApplicationDropletMutex.RLock()
   526  	defer fake.createApplicationDropletMutex.RUnlock()
   527  	return len(fake.createApplicationDropletArgsForCall)
   528  }
   529  
   530  func (fake *FakeV7Actor) CreateApplicationDropletCalls(stub func(string) (v7action.Droplet, v7action.Warnings, error)) {
   531  	fake.createApplicationDropletMutex.Lock()
   532  	defer fake.createApplicationDropletMutex.Unlock()
   533  	fake.CreateApplicationDropletStub = stub
   534  }
   535  
   536  func (fake *FakeV7Actor) CreateApplicationDropletArgsForCall(i int) string {
   537  	fake.createApplicationDropletMutex.RLock()
   538  	defer fake.createApplicationDropletMutex.RUnlock()
   539  	argsForCall := fake.createApplicationDropletArgsForCall[i]
   540  	return argsForCall.arg1
   541  }
   542  
   543  func (fake *FakeV7Actor) CreateApplicationDropletReturns(result1 v7action.Droplet, result2 v7action.Warnings, result3 error) {
   544  	fake.createApplicationDropletMutex.Lock()
   545  	defer fake.createApplicationDropletMutex.Unlock()
   546  	fake.CreateApplicationDropletStub = nil
   547  	fake.createApplicationDropletReturns = struct {
   548  		result1 v7action.Droplet
   549  		result2 v7action.Warnings
   550  		result3 error
   551  	}{result1, result2, result3}
   552  }
   553  
   554  func (fake *FakeV7Actor) CreateApplicationDropletReturnsOnCall(i int, result1 v7action.Droplet, result2 v7action.Warnings, result3 error) {
   555  	fake.createApplicationDropletMutex.Lock()
   556  	defer fake.createApplicationDropletMutex.Unlock()
   557  	fake.CreateApplicationDropletStub = nil
   558  	if fake.createApplicationDropletReturnsOnCall == nil {
   559  		fake.createApplicationDropletReturnsOnCall = make(map[int]struct {
   560  			result1 v7action.Droplet
   561  			result2 v7action.Warnings
   562  			result3 error
   563  		})
   564  	}
   565  	fake.createApplicationDropletReturnsOnCall[i] = struct {
   566  		result1 v7action.Droplet
   567  		result2 v7action.Warnings
   568  		result3 error
   569  	}{result1, result2, result3}
   570  }
   571  
   572  func (fake *FakeV7Actor) CreateApplicationInSpace(arg1 v7action.Application, arg2 string) (v7action.Application, v7action.Warnings, error) {
   573  	fake.createApplicationInSpaceMutex.Lock()
   574  	ret, specificReturn := fake.createApplicationInSpaceReturnsOnCall[len(fake.createApplicationInSpaceArgsForCall)]
   575  	fake.createApplicationInSpaceArgsForCall = append(fake.createApplicationInSpaceArgsForCall, struct {
   576  		arg1 v7action.Application
   577  		arg2 string
   578  	}{arg1, arg2})
   579  	fake.recordInvocation("CreateApplicationInSpace", []interface{}{arg1, arg2})
   580  	fake.createApplicationInSpaceMutex.Unlock()
   581  	if fake.CreateApplicationInSpaceStub != nil {
   582  		return fake.CreateApplicationInSpaceStub(arg1, arg2)
   583  	}
   584  	if specificReturn {
   585  		return ret.result1, ret.result2, ret.result3
   586  	}
   587  	fakeReturns := fake.createApplicationInSpaceReturns
   588  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
   589  }
   590  
   591  func (fake *FakeV7Actor) CreateApplicationInSpaceCallCount() int {
   592  	fake.createApplicationInSpaceMutex.RLock()
   593  	defer fake.createApplicationInSpaceMutex.RUnlock()
   594  	return len(fake.createApplicationInSpaceArgsForCall)
   595  }
   596  
   597  func (fake *FakeV7Actor) CreateApplicationInSpaceCalls(stub func(v7action.Application, string) (v7action.Application, v7action.Warnings, error)) {
   598  	fake.createApplicationInSpaceMutex.Lock()
   599  	defer fake.createApplicationInSpaceMutex.Unlock()
   600  	fake.CreateApplicationInSpaceStub = stub
   601  }
   602  
   603  func (fake *FakeV7Actor) CreateApplicationInSpaceArgsForCall(i int) (v7action.Application, string) {
   604  	fake.createApplicationInSpaceMutex.RLock()
   605  	defer fake.createApplicationInSpaceMutex.RUnlock()
   606  	argsForCall := fake.createApplicationInSpaceArgsForCall[i]
   607  	return argsForCall.arg1, argsForCall.arg2
   608  }
   609  
   610  func (fake *FakeV7Actor) CreateApplicationInSpaceReturns(result1 v7action.Application, result2 v7action.Warnings, result3 error) {
   611  	fake.createApplicationInSpaceMutex.Lock()
   612  	defer fake.createApplicationInSpaceMutex.Unlock()
   613  	fake.CreateApplicationInSpaceStub = nil
   614  	fake.createApplicationInSpaceReturns = struct {
   615  		result1 v7action.Application
   616  		result2 v7action.Warnings
   617  		result3 error
   618  	}{result1, result2, result3}
   619  }
   620  
   621  func (fake *FakeV7Actor) CreateApplicationInSpaceReturnsOnCall(i int, result1 v7action.Application, result2 v7action.Warnings, result3 error) {
   622  	fake.createApplicationInSpaceMutex.Lock()
   623  	defer fake.createApplicationInSpaceMutex.Unlock()
   624  	fake.CreateApplicationInSpaceStub = nil
   625  	if fake.createApplicationInSpaceReturnsOnCall == nil {
   626  		fake.createApplicationInSpaceReturnsOnCall = make(map[int]struct {
   627  			result1 v7action.Application
   628  			result2 v7action.Warnings
   629  			result3 error
   630  		})
   631  	}
   632  	fake.createApplicationInSpaceReturnsOnCall[i] = struct {
   633  		result1 v7action.Application
   634  		result2 v7action.Warnings
   635  		result3 error
   636  	}{result1, result2, result3}
   637  }
   638  
   639  func (fake *FakeV7Actor) CreateBitsPackageByApplication(arg1 string) (v7action.Package, v7action.Warnings, error) {
   640  	fake.createBitsPackageByApplicationMutex.Lock()
   641  	ret, specificReturn := fake.createBitsPackageByApplicationReturnsOnCall[len(fake.createBitsPackageByApplicationArgsForCall)]
   642  	fake.createBitsPackageByApplicationArgsForCall = append(fake.createBitsPackageByApplicationArgsForCall, struct {
   643  		arg1 string
   644  	}{arg1})
   645  	fake.recordInvocation("CreateBitsPackageByApplication", []interface{}{arg1})
   646  	fake.createBitsPackageByApplicationMutex.Unlock()
   647  	if fake.CreateBitsPackageByApplicationStub != nil {
   648  		return fake.CreateBitsPackageByApplicationStub(arg1)
   649  	}
   650  	if specificReturn {
   651  		return ret.result1, ret.result2, ret.result3
   652  	}
   653  	fakeReturns := fake.createBitsPackageByApplicationReturns
   654  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
   655  }
   656  
   657  func (fake *FakeV7Actor) CreateBitsPackageByApplicationCallCount() int {
   658  	fake.createBitsPackageByApplicationMutex.RLock()
   659  	defer fake.createBitsPackageByApplicationMutex.RUnlock()
   660  	return len(fake.createBitsPackageByApplicationArgsForCall)
   661  }
   662  
   663  func (fake *FakeV7Actor) CreateBitsPackageByApplicationCalls(stub func(string) (v7action.Package, v7action.Warnings, error)) {
   664  	fake.createBitsPackageByApplicationMutex.Lock()
   665  	defer fake.createBitsPackageByApplicationMutex.Unlock()
   666  	fake.CreateBitsPackageByApplicationStub = stub
   667  }
   668  
   669  func (fake *FakeV7Actor) CreateBitsPackageByApplicationArgsForCall(i int) string {
   670  	fake.createBitsPackageByApplicationMutex.RLock()
   671  	defer fake.createBitsPackageByApplicationMutex.RUnlock()
   672  	argsForCall := fake.createBitsPackageByApplicationArgsForCall[i]
   673  	return argsForCall.arg1
   674  }
   675  
   676  func (fake *FakeV7Actor) CreateBitsPackageByApplicationReturns(result1 v7action.Package, result2 v7action.Warnings, result3 error) {
   677  	fake.createBitsPackageByApplicationMutex.Lock()
   678  	defer fake.createBitsPackageByApplicationMutex.Unlock()
   679  	fake.CreateBitsPackageByApplicationStub = nil
   680  	fake.createBitsPackageByApplicationReturns = struct {
   681  		result1 v7action.Package
   682  		result2 v7action.Warnings
   683  		result3 error
   684  	}{result1, result2, result3}
   685  }
   686  
   687  func (fake *FakeV7Actor) CreateBitsPackageByApplicationReturnsOnCall(i int, result1 v7action.Package, result2 v7action.Warnings, result3 error) {
   688  	fake.createBitsPackageByApplicationMutex.Lock()
   689  	defer fake.createBitsPackageByApplicationMutex.Unlock()
   690  	fake.CreateBitsPackageByApplicationStub = nil
   691  	if fake.createBitsPackageByApplicationReturnsOnCall == nil {
   692  		fake.createBitsPackageByApplicationReturnsOnCall = make(map[int]struct {
   693  			result1 v7action.Package
   694  			result2 v7action.Warnings
   695  			result3 error
   696  		})
   697  	}
   698  	fake.createBitsPackageByApplicationReturnsOnCall[i] = struct {
   699  		result1 v7action.Package
   700  		result2 v7action.Warnings
   701  		result3 error
   702  	}{result1, result2, result3}
   703  }
   704  
   705  func (fake *FakeV7Actor) CreateDeployment(arg1 string, arg2 string) (string, v7action.Warnings, error) {
   706  	fake.createDeploymentMutex.Lock()
   707  	ret, specificReturn := fake.createDeploymentReturnsOnCall[len(fake.createDeploymentArgsForCall)]
   708  	fake.createDeploymentArgsForCall = append(fake.createDeploymentArgsForCall, struct {
   709  		arg1 string
   710  		arg2 string
   711  	}{arg1, arg2})
   712  	fake.recordInvocation("CreateDeployment", []interface{}{arg1, arg2})
   713  	fake.createDeploymentMutex.Unlock()
   714  	if fake.CreateDeploymentStub != nil {
   715  		return fake.CreateDeploymentStub(arg1, arg2)
   716  	}
   717  	if specificReturn {
   718  		return ret.result1, ret.result2, ret.result3
   719  	}
   720  	fakeReturns := fake.createDeploymentReturns
   721  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
   722  }
   723  
   724  func (fake *FakeV7Actor) CreateDeploymentCallCount() int {
   725  	fake.createDeploymentMutex.RLock()
   726  	defer fake.createDeploymentMutex.RUnlock()
   727  	return len(fake.createDeploymentArgsForCall)
   728  }
   729  
   730  func (fake *FakeV7Actor) CreateDeploymentCalls(stub func(string, string) (string, v7action.Warnings, error)) {
   731  	fake.createDeploymentMutex.Lock()
   732  	defer fake.createDeploymentMutex.Unlock()
   733  	fake.CreateDeploymentStub = stub
   734  }
   735  
   736  func (fake *FakeV7Actor) CreateDeploymentArgsForCall(i int) (string, string) {
   737  	fake.createDeploymentMutex.RLock()
   738  	defer fake.createDeploymentMutex.RUnlock()
   739  	argsForCall := fake.createDeploymentArgsForCall[i]
   740  	return argsForCall.arg1, argsForCall.arg2
   741  }
   742  
   743  func (fake *FakeV7Actor) CreateDeploymentReturns(result1 string, result2 v7action.Warnings, result3 error) {
   744  	fake.createDeploymentMutex.Lock()
   745  	defer fake.createDeploymentMutex.Unlock()
   746  	fake.CreateDeploymentStub = nil
   747  	fake.createDeploymentReturns = struct {
   748  		result1 string
   749  		result2 v7action.Warnings
   750  		result3 error
   751  	}{result1, result2, result3}
   752  }
   753  
   754  func (fake *FakeV7Actor) CreateDeploymentReturnsOnCall(i int, result1 string, result2 v7action.Warnings, result3 error) {
   755  	fake.createDeploymentMutex.Lock()
   756  	defer fake.createDeploymentMutex.Unlock()
   757  	fake.CreateDeploymentStub = nil
   758  	if fake.createDeploymentReturnsOnCall == nil {
   759  		fake.createDeploymentReturnsOnCall = make(map[int]struct {
   760  			result1 string
   761  			result2 v7action.Warnings
   762  			result3 error
   763  		})
   764  	}
   765  	fake.createDeploymentReturnsOnCall[i] = struct {
   766  		result1 string
   767  		result2 v7action.Warnings
   768  		result3 error
   769  	}{result1, result2, result3}
   770  }
   771  
   772  func (fake *FakeV7Actor) CreateDockerPackageByApplication(arg1 string, arg2 v7action.DockerImageCredentials) (v7action.Package, v7action.Warnings, error) {
   773  	fake.createDockerPackageByApplicationMutex.Lock()
   774  	ret, specificReturn := fake.createDockerPackageByApplicationReturnsOnCall[len(fake.createDockerPackageByApplicationArgsForCall)]
   775  	fake.createDockerPackageByApplicationArgsForCall = append(fake.createDockerPackageByApplicationArgsForCall, struct {
   776  		arg1 string
   777  		arg2 v7action.DockerImageCredentials
   778  	}{arg1, arg2})
   779  	fake.recordInvocation("CreateDockerPackageByApplication", []interface{}{arg1, arg2})
   780  	fake.createDockerPackageByApplicationMutex.Unlock()
   781  	if fake.CreateDockerPackageByApplicationStub != nil {
   782  		return fake.CreateDockerPackageByApplicationStub(arg1, arg2)
   783  	}
   784  	if specificReturn {
   785  		return ret.result1, ret.result2, ret.result3
   786  	}
   787  	fakeReturns := fake.createDockerPackageByApplicationReturns
   788  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
   789  }
   790  
   791  func (fake *FakeV7Actor) CreateDockerPackageByApplicationCallCount() int {
   792  	fake.createDockerPackageByApplicationMutex.RLock()
   793  	defer fake.createDockerPackageByApplicationMutex.RUnlock()
   794  	return len(fake.createDockerPackageByApplicationArgsForCall)
   795  }
   796  
   797  func (fake *FakeV7Actor) CreateDockerPackageByApplicationCalls(stub func(string, v7action.DockerImageCredentials) (v7action.Package, v7action.Warnings, error)) {
   798  	fake.createDockerPackageByApplicationMutex.Lock()
   799  	defer fake.createDockerPackageByApplicationMutex.Unlock()
   800  	fake.CreateDockerPackageByApplicationStub = stub
   801  }
   802  
   803  func (fake *FakeV7Actor) CreateDockerPackageByApplicationArgsForCall(i int) (string, v7action.DockerImageCredentials) {
   804  	fake.createDockerPackageByApplicationMutex.RLock()
   805  	defer fake.createDockerPackageByApplicationMutex.RUnlock()
   806  	argsForCall := fake.createDockerPackageByApplicationArgsForCall[i]
   807  	return argsForCall.arg1, argsForCall.arg2
   808  }
   809  
   810  func (fake *FakeV7Actor) CreateDockerPackageByApplicationReturns(result1 v7action.Package, result2 v7action.Warnings, result3 error) {
   811  	fake.createDockerPackageByApplicationMutex.Lock()
   812  	defer fake.createDockerPackageByApplicationMutex.Unlock()
   813  	fake.CreateDockerPackageByApplicationStub = nil
   814  	fake.createDockerPackageByApplicationReturns = struct {
   815  		result1 v7action.Package
   816  		result2 v7action.Warnings
   817  		result3 error
   818  	}{result1, result2, result3}
   819  }
   820  
   821  func (fake *FakeV7Actor) CreateDockerPackageByApplicationReturnsOnCall(i int, result1 v7action.Package, result2 v7action.Warnings, result3 error) {
   822  	fake.createDockerPackageByApplicationMutex.Lock()
   823  	defer fake.createDockerPackageByApplicationMutex.Unlock()
   824  	fake.CreateDockerPackageByApplicationStub = nil
   825  	if fake.createDockerPackageByApplicationReturnsOnCall == nil {
   826  		fake.createDockerPackageByApplicationReturnsOnCall = make(map[int]struct {
   827  			result1 v7action.Package
   828  			result2 v7action.Warnings
   829  			result3 error
   830  		})
   831  	}
   832  	fake.createDockerPackageByApplicationReturnsOnCall[i] = struct {
   833  		result1 v7action.Package
   834  		result2 v7action.Warnings
   835  		result3 error
   836  	}{result1, result2, result3}
   837  }
   838  
   839  func (fake *FakeV7Actor) CreateRoute(arg1 string, arg2 string, arg3 string, arg4 string) (v7action.Route, v7action.Warnings, error) {
   840  	fake.createRouteMutex.Lock()
   841  	ret, specificReturn := fake.createRouteReturnsOnCall[len(fake.createRouteArgsForCall)]
   842  	fake.createRouteArgsForCall = append(fake.createRouteArgsForCall, struct {
   843  		arg1 string
   844  		arg2 string
   845  		arg3 string
   846  		arg4 string
   847  	}{arg1, arg2, arg3, arg4})
   848  	fake.recordInvocation("CreateRoute", []interface{}{arg1, arg2, arg3, arg4})
   849  	fake.createRouteMutex.Unlock()
   850  	if fake.CreateRouteStub != nil {
   851  		return fake.CreateRouteStub(arg1, arg2, arg3, arg4)
   852  	}
   853  	if specificReturn {
   854  		return ret.result1, ret.result2, ret.result3
   855  	}
   856  	fakeReturns := fake.createRouteReturns
   857  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
   858  }
   859  
   860  func (fake *FakeV7Actor) CreateRouteCallCount() int {
   861  	fake.createRouteMutex.RLock()
   862  	defer fake.createRouteMutex.RUnlock()
   863  	return len(fake.createRouteArgsForCall)
   864  }
   865  
   866  func (fake *FakeV7Actor) CreateRouteCalls(stub func(string, string, string, string) (v7action.Route, v7action.Warnings, error)) {
   867  	fake.createRouteMutex.Lock()
   868  	defer fake.createRouteMutex.Unlock()
   869  	fake.CreateRouteStub = stub
   870  }
   871  
   872  func (fake *FakeV7Actor) CreateRouteArgsForCall(i int) (string, string, string, string) {
   873  	fake.createRouteMutex.RLock()
   874  	defer fake.createRouteMutex.RUnlock()
   875  	argsForCall := fake.createRouteArgsForCall[i]
   876  	return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4
   877  }
   878  
   879  func (fake *FakeV7Actor) CreateRouteReturns(result1 v7action.Route, result2 v7action.Warnings, result3 error) {
   880  	fake.createRouteMutex.Lock()
   881  	defer fake.createRouteMutex.Unlock()
   882  	fake.CreateRouteStub = nil
   883  	fake.createRouteReturns = struct {
   884  		result1 v7action.Route
   885  		result2 v7action.Warnings
   886  		result3 error
   887  	}{result1, result2, result3}
   888  }
   889  
   890  func (fake *FakeV7Actor) CreateRouteReturnsOnCall(i int, result1 v7action.Route, result2 v7action.Warnings, result3 error) {
   891  	fake.createRouteMutex.Lock()
   892  	defer fake.createRouteMutex.Unlock()
   893  	fake.CreateRouteStub = nil
   894  	if fake.createRouteReturnsOnCall == nil {
   895  		fake.createRouteReturnsOnCall = make(map[int]struct {
   896  			result1 v7action.Route
   897  			result2 v7action.Warnings
   898  			result3 error
   899  		})
   900  	}
   901  	fake.createRouteReturnsOnCall[i] = struct {
   902  		result1 v7action.Route
   903  		result2 v7action.Warnings
   904  		result3 error
   905  	}{result1, result2, result3}
   906  }
   907  
   908  func (fake *FakeV7Actor) GetApplicationByNameAndSpace(arg1 string, arg2 string) (v7action.Application, v7action.Warnings, error) {
   909  	fake.getApplicationByNameAndSpaceMutex.Lock()
   910  	ret, specificReturn := fake.getApplicationByNameAndSpaceReturnsOnCall[len(fake.getApplicationByNameAndSpaceArgsForCall)]
   911  	fake.getApplicationByNameAndSpaceArgsForCall = append(fake.getApplicationByNameAndSpaceArgsForCall, struct {
   912  		arg1 string
   913  		arg2 string
   914  	}{arg1, arg2})
   915  	fake.recordInvocation("GetApplicationByNameAndSpace", []interface{}{arg1, arg2})
   916  	fake.getApplicationByNameAndSpaceMutex.Unlock()
   917  	if fake.GetApplicationByNameAndSpaceStub != nil {
   918  		return fake.GetApplicationByNameAndSpaceStub(arg1, arg2)
   919  	}
   920  	if specificReturn {
   921  		return ret.result1, ret.result2, ret.result3
   922  	}
   923  	fakeReturns := fake.getApplicationByNameAndSpaceReturns
   924  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
   925  }
   926  
   927  func (fake *FakeV7Actor) GetApplicationByNameAndSpaceCallCount() int {
   928  	fake.getApplicationByNameAndSpaceMutex.RLock()
   929  	defer fake.getApplicationByNameAndSpaceMutex.RUnlock()
   930  	return len(fake.getApplicationByNameAndSpaceArgsForCall)
   931  }
   932  
   933  func (fake *FakeV7Actor) GetApplicationByNameAndSpaceCalls(stub func(string, string) (v7action.Application, v7action.Warnings, error)) {
   934  	fake.getApplicationByNameAndSpaceMutex.Lock()
   935  	defer fake.getApplicationByNameAndSpaceMutex.Unlock()
   936  	fake.GetApplicationByNameAndSpaceStub = stub
   937  }
   938  
   939  func (fake *FakeV7Actor) GetApplicationByNameAndSpaceArgsForCall(i int) (string, string) {
   940  	fake.getApplicationByNameAndSpaceMutex.RLock()
   941  	defer fake.getApplicationByNameAndSpaceMutex.RUnlock()
   942  	argsForCall := fake.getApplicationByNameAndSpaceArgsForCall[i]
   943  	return argsForCall.arg1, argsForCall.arg2
   944  }
   945  
   946  func (fake *FakeV7Actor) GetApplicationByNameAndSpaceReturns(result1 v7action.Application, result2 v7action.Warnings, result3 error) {
   947  	fake.getApplicationByNameAndSpaceMutex.Lock()
   948  	defer fake.getApplicationByNameAndSpaceMutex.Unlock()
   949  	fake.GetApplicationByNameAndSpaceStub = nil
   950  	fake.getApplicationByNameAndSpaceReturns = struct {
   951  		result1 v7action.Application
   952  		result2 v7action.Warnings
   953  		result3 error
   954  	}{result1, result2, result3}
   955  }
   956  
   957  func (fake *FakeV7Actor) GetApplicationByNameAndSpaceReturnsOnCall(i int, result1 v7action.Application, result2 v7action.Warnings, result3 error) {
   958  	fake.getApplicationByNameAndSpaceMutex.Lock()
   959  	defer fake.getApplicationByNameAndSpaceMutex.Unlock()
   960  	fake.GetApplicationByNameAndSpaceStub = nil
   961  	if fake.getApplicationByNameAndSpaceReturnsOnCall == nil {
   962  		fake.getApplicationByNameAndSpaceReturnsOnCall = make(map[int]struct {
   963  			result1 v7action.Application
   964  			result2 v7action.Warnings
   965  			result3 error
   966  		})
   967  	}
   968  	fake.getApplicationByNameAndSpaceReturnsOnCall[i] = struct {
   969  		result1 v7action.Application
   970  		result2 v7action.Warnings
   971  		result3 error
   972  	}{result1, result2, result3}
   973  }
   974  
   975  func (fake *FakeV7Actor) GetApplicationDroplets(arg1 string, arg2 string) ([]v7action.Droplet, v7action.Warnings, error) {
   976  	fake.getApplicationDropletsMutex.Lock()
   977  	ret, specificReturn := fake.getApplicationDropletsReturnsOnCall[len(fake.getApplicationDropletsArgsForCall)]
   978  	fake.getApplicationDropletsArgsForCall = append(fake.getApplicationDropletsArgsForCall, struct {
   979  		arg1 string
   980  		arg2 string
   981  	}{arg1, arg2})
   982  	fake.recordInvocation("GetApplicationDroplets", []interface{}{arg1, arg2})
   983  	fake.getApplicationDropletsMutex.Unlock()
   984  	if fake.GetApplicationDropletsStub != nil {
   985  		return fake.GetApplicationDropletsStub(arg1, arg2)
   986  	}
   987  	if specificReturn {
   988  		return ret.result1, ret.result2, ret.result3
   989  	}
   990  	fakeReturns := fake.getApplicationDropletsReturns
   991  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
   992  }
   993  
   994  func (fake *FakeV7Actor) GetApplicationDropletsCallCount() int {
   995  	fake.getApplicationDropletsMutex.RLock()
   996  	defer fake.getApplicationDropletsMutex.RUnlock()
   997  	return len(fake.getApplicationDropletsArgsForCall)
   998  }
   999  
  1000  func (fake *FakeV7Actor) GetApplicationDropletsCalls(stub func(string, string) ([]v7action.Droplet, v7action.Warnings, error)) {
  1001  	fake.getApplicationDropletsMutex.Lock()
  1002  	defer fake.getApplicationDropletsMutex.Unlock()
  1003  	fake.GetApplicationDropletsStub = stub
  1004  }
  1005  
  1006  func (fake *FakeV7Actor) GetApplicationDropletsArgsForCall(i int) (string, string) {
  1007  	fake.getApplicationDropletsMutex.RLock()
  1008  	defer fake.getApplicationDropletsMutex.RUnlock()
  1009  	argsForCall := fake.getApplicationDropletsArgsForCall[i]
  1010  	return argsForCall.arg1, argsForCall.arg2
  1011  }
  1012  
  1013  func (fake *FakeV7Actor) GetApplicationDropletsReturns(result1 []v7action.Droplet, result2 v7action.Warnings, result3 error) {
  1014  	fake.getApplicationDropletsMutex.Lock()
  1015  	defer fake.getApplicationDropletsMutex.Unlock()
  1016  	fake.GetApplicationDropletsStub = nil
  1017  	fake.getApplicationDropletsReturns = struct {
  1018  		result1 []v7action.Droplet
  1019  		result2 v7action.Warnings
  1020  		result3 error
  1021  	}{result1, result2, result3}
  1022  }
  1023  
  1024  func (fake *FakeV7Actor) GetApplicationDropletsReturnsOnCall(i int, result1 []v7action.Droplet, result2 v7action.Warnings, result3 error) {
  1025  	fake.getApplicationDropletsMutex.Lock()
  1026  	defer fake.getApplicationDropletsMutex.Unlock()
  1027  	fake.GetApplicationDropletsStub = nil
  1028  	if fake.getApplicationDropletsReturnsOnCall == nil {
  1029  		fake.getApplicationDropletsReturnsOnCall = make(map[int]struct {
  1030  			result1 []v7action.Droplet
  1031  			result2 v7action.Warnings
  1032  			result3 error
  1033  		})
  1034  	}
  1035  	fake.getApplicationDropletsReturnsOnCall[i] = struct {
  1036  		result1 []v7action.Droplet
  1037  		result2 v7action.Warnings
  1038  		result3 error
  1039  	}{result1, result2, result3}
  1040  }
  1041  
  1042  func (fake *FakeV7Actor) GetApplicationRoutes(arg1 string) ([]v7action.Route, v7action.Warnings, error) {
  1043  	fake.getApplicationRoutesMutex.Lock()
  1044  	ret, specificReturn := fake.getApplicationRoutesReturnsOnCall[len(fake.getApplicationRoutesArgsForCall)]
  1045  	fake.getApplicationRoutesArgsForCall = append(fake.getApplicationRoutesArgsForCall, struct {
  1046  		arg1 string
  1047  	}{arg1})
  1048  	fake.recordInvocation("GetApplicationRoutes", []interface{}{arg1})
  1049  	fake.getApplicationRoutesMutex.Unlock()
  1050  	if fake.GetApplicationRoutesStub != nil {
  1051  		return fake.GetApplicationRoutesStub(arg1)
  1052  	}
  1053  	if specificReturn {
  1054  		return ret.result1, ret.result2, ret.result3
  1055  	}
  1056  	fakeReturns := fake.getApplicationRoutesReturns
  1057  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
  1058  }
  1059  
  1060  func (fake *FakeV7Actor) GetApplicationRoutesCallCount() int {
  1061  	fake.getApplicationRoutesMutex.RLock()
  1062  	defer fake.getApplicationRoutesMutex.RUnlock()
  1063  	return len(fake.getApplicationRoutesArgsForCall)
  1064  }
  1065  
  1066  func (fake *FakeV7Actor) GetApplicationRoutesCalls(stub func(string) ([]v7action.Route, v7action.Warnings, error)) {
  1067  	fake.getApplicationRoutesMutex.Lock()
  1068  	defer fake.getApplicationRoutesMutex.Unlock()
  1069  	fake.GetApplicationRoutesStub = stub
  1070  }
  1071  
  1072  func (fake *FakeV7Actor) GetApplicationRoutesArgsForCall(i int) string {
  1073  	fake.getApplicationRoutesMutex.RLock()
  1074  	defer fake.getApplicationRoutesMutex.RUnlock()
  1075  	argsForCall := fake.getApplicationRoutesArgsForCall[i]
  1076  	return argsForCall.arg1
  1077  }
  1078  
  1079  func (fake *FakeV7Actor) GetApplicationRoutesReturns(result1 []v7action.Route, result2 v7action.Warnings, result3 error) {
  1080  	fake.getApplicationRoutesMutex.Lock()
  1081  	defer fake.getApplicationRoutesMutex.Unlock()
  1082  	fake.GetApplicationRoutesStub = nil
  1083  	fake.getApplicationRoutesReturns = struct {
  1084  		result1 []v7action.Route
  1085  		result2 v7action.Warnings
  1086  		result3 error
  1087  	}{result1, result2, result3}
  1088  }
  1089  
  1090  func (fake *FakeV7Actor) GetApplicationRoutesReturnsOnCall(i int, result1 []v7action.Route, result2 v7action.Warnings, result3 error) {
  1091  	fake.getApplicationRoutesMutex.Lock()
  1092  	defer fake.getApplicationRoutesMutex.Unlock()
  1093  	fake.GetApplicationRoutesStub = nil
  1094  	if fake.getApplicationRoutesReturnsOnCall == nil {
  1095  		fake.getApplicationRoutesReturnsOnCall = make(map[int]struct {
  1096  			result1 []v7action.Route
  1097  			result2 v7action.Warnings
  1098  			result3 error
  1099  		})
  1100  	}
  1101  	fake.getApplicationRoutesReturnsOnCall[i] = struct {
  1102  		result1 []v7action.Route
  1103  		result2 v7action.Warnings
  1104  		result3 error
  1105  	}{result1, result2, result3}
  1106  }
  1107  
  1108  func (fake *FakeV7Actor) GetApplicationsByNamesAndSpace(arg1 []string, arg2 string) ([]v7action.Application, v7action.Warnings, error) {
  1109  	var arg1Copy []string
  1110  	if arg1 != nil {
  1111  		arg1Copy = make([]string, len(arg1))
  1112  		copy(arg1Copy, arg1)
  1113  	}
  1114  	fake.getApplicationsByNamesAndSpaceMutex.Lock()
  1115  	ret, specificReturn := fake.getApplicationsByNamesAndSpaceReturnsOnCall[len(fake.getApplicationsByNamesAndSpaceArgsForCall)]
  1116  	fake.getApplicationsByNamesAndSpaceArgsForCall = append(fake.getApplicationsByNamesAndSpaceArgsForCall, struct {
  1117  		arg1 []string
  1118  		arg2 string
  1119  	}{arg1Copy, arg2})
  1120  	fake.recordInvocation("GetApplicationsByNamesAndSpace", []interface{}{arg1Copy, arg2})
  1121  	fake.getApplicationsByNamesAndSpaceMutex.Unlock()
  1122  	if fake.GetApplicationsByNamesAndSpaceStub != nil {
  1123  		return fake.GetApplicationsByNamesAndSpaceStub(arg1, arg2)
  1124  	}
  1125  	if specificReturn {
  1126  		return ret.result1, ret.result2, ret.result3
  1127  	}
  1128  	fakeReturns := fake.getApplicationsByNamesAndSpaceReturns
  1129  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
  1130  }
  1131  
  1132  func (fake *FakeV7Actor) GetApplicationsByNamesAndSpaceCallCount() int {
  1133  	fake.getApplicationsByNamesAndSpaceMutex.RLock()
  1134  	defer fake.getApplicationsByNamesAndSpaceMutex.RUnlock()
  1135  	return len(fake.getApplicationsByNamesAndSpaceArgsForCall)
  1136  }
  1137  
  1138  func (fake *FakeV7Actor) GetApplicationsByNamesAndSpaceCalls(stub func([]string, string) ([]v7action.Application, v7action.Warnings, error)) {
  1139  	fake.getApplicationsByNamesAndSpaceMutex.Lock()
  1140  	defer fake.getApplicationsByNamesAndSpaceMutex.Unlock()
  1141  	fake.GetApplicationsByNamesAndSpaceStub = stub
  1142  }
  1143  
  1144  func (fake *FakeV7Actor) GetApplicationsByNamesAndSpaceArgsForCall(i int) ([]string, string) {
  1145  	fake.getApplicationsByNamesAndSpaceMutex.RLock()
  1146  	defer fake.getApplicationsByNamesAndSpaceMutex.RUnlock()
  1147  	argsForCall := fake.getApplicationsByNamesAndSpaceArgsForCall[i]
  1148  	return argsForCall.arg1, argsForCall.arg2
  1149  }
  1150  
  1151  func (fake *FakeV7Actor) GetApplicationsByNamesAndSpaceReturns(result1 []v7action.Application, result2 v7action.Warnings, result3 error) {
  1152  	fake.getApplicationsByNamesAndSpaceMutex.Lock()
  1153  	defer fake.getApplicationsByNamesAndSpaceMutex.Unlock()
  1154  	fake.GetApplicationsByNamesAndSpaceStub = nil
  1155  	fake.getApplicationsByNamesAndSpaceReturns = struct {
  1156  		result1 []v7action.Application
  1157  		result2 v7action.Warnings
  1158  		result3 error
  1159  	}{result1, result2, result3}
  1160  }
  1161  
  1162  func (fake *FakeV7Actor) GetApplicationsByNamesAndSpaceReturnsOnCall(i int, result1 []v7action.Application, result2 v7action.Warnings, result3 error) {
  1163  	fake.getApplicationsByNamesAndSpaceMutex.Lock()
  1164  	defer fake.getApplicationsByNamesAndSpaceMutex.Unlock()
  1165  	fake.GetApplicationsByNamesAndSpaceStub = nil
  1166  	if fake.getApplicationsByNamesAndSpaceReturnsOnCall == nil {
  1167  		fake.getApplicationsByNamesAndSpaceReturnsOnCall = make(map[int]struct {
  1168  			result1 []v7action.Application
  1169  			result2 v7action.Warnings
  1170  			result3 error
  1171  		})
  1172  	}
  1173  	fake.getApplicationsByNamesAndSpaceReturnsOnCall[i] = struct {
  1174  		result1 []v7action.Application
  1175  		result2 v7action.Warnings
  1176  		result3 error
  1177  	}{result1, result2, result3}
  1178  }
  1179  
  1180  func (fake *FakeV7Actor) GetDefaultDomain(arg1 string) (v7action.Domain, v7action.Warnings, error) {
  1181  	fake.getDefaultDomainMutex.Lock()
  1182  	ret, specificReturn := fake.getDefaultDomainReturnsOnCall[len(fake.getDefaultDomainArgsForCall)]
  1183  	fake.getDefaultDomainArgsForCall = append(fake.getDefaultDomainArgsForCall, struct {
  1184  		arg1 string
  1185  	}{arg1})
  1186  	fake.recordInvocation("GetDefaultDomain", []interface{}{arg1})
  1187  	fake.getDefaultDomainMutex.Unlock()
  1188  	if fake.GetDefaultDomainStub != nil {
  1189  		return fake.GetDefaultDomainStub(arg1)
  1190  	}
  1191  	if specificReturn {
  1192  		return ret.result1, ret.result2, ret.result3
  1193  	}
  1194  	fakeReturns := fake.getDefaultDomainReturns
  1195  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
  1196  }
  1197  
  1198  func (fake *FakeV7Actor) GetDefaultDomainCallCount() int {
  1199  	fake.getDefaultDomainMutex.RLock()
  1200  	defer fake.getDefaultDomainMutex.RUnlock()
  1201  	return len(fake.getDefaultDomainArgsForCall)
  1202  }
  1203  
  1204  func (fake *FakeV7Actor) GetDefaultDomainCalls(stub func(string) (v7action.Domain, v7action.Warnings, error)) {
  1205  	fake.getDefaultDomainMutex.Lock()
  1206  	defer fake.getDefaultDomainMutex.Unlock()
  1207  	fake.GetDefaultDomainStub = stub
  1208  }
  1209  
  1210  func (fake *FakeV7Actor) GetDefaultDomainArgsForCall(i int) string {
  1211  	fake.getDefaultDomainMutex.RLock()
  1212  	defer fake.getDefaultDomainMutex.RUnlock()
  1213  	argsForCall := fake.getDefaultDomainArgsForCall[i]
  1214  	return argsForCall.arg1
  1215  }
  1216  
  1217  func (fake *FakeV7Actor) GetDefaultDomainReturns(result1 v7action.Domain, result2 v7action.Warnings, result3 error) {
  1218  	fake.getDefaultDomainMutex.Lock()
  1219  	defer fake.getDefaultDomainMutex.Unlock()
  1220  	fake.GetDefaultDomainStub = nil
  1221  	fake.getDefaultDomainReturns = struct {
  1222  		result1 v7action.Domain
  1223  		result2 v7action.Warnings
  1224  		result3 error
  1225  	}{result1, result2, result3}
  1226  }
  1227  
  1228  func (fake *FakeV7Actor) GetDefaultDomainReturnsOnCall(i int, result1 v7action.Domain, result2 v7action.Warnings, result3 error) {
  1229  	fake.getDefaultDomainMutex.Lock()
  1230  	defer fake.getDefaultDomainMutex.Unlock()
  1231  	fake.GetDefaultDomainStub = nil
  1232  	if fake.getDefaultDomainReturnsOnCall == nil {
  1233  		fake.getDefaultDomainReturnsOnCall = make(map[int]struct {
  1234  			result1 v7action.Domain
  1235  			result2 v7action.Warnings
  1236  			result3 error
  1237  		})
  1238  	}
  1239  	fake.getDefaultDomainReturnsOnCall[i] = struct {
  1240  		result1 v7action.Domain
  1241  		result2 v7action.Warnings
  1242  		result3 error
  1243  	}{result1, result2, result3}
  1244  }
  1245  
  1246  func (fake *FakeV7Actor) GetDomain(arg1 string) (v7action.Domain, v7action.Warnings, error) {
  1247  	fake.getDomainMutex.Lock()
  1248  	ret, specificReturn := fake.getDomainReturnsOnCall[len(fake.getDomainArgsForCall)]
  1249  	fake.getDomainArgsForCall = append(fake.getDomainArgsForCall, struct {
  1250  		arg1 string
  1251  	}{arg1})
  1252  	fake.recordInvocation("GetDomain", []interface{}{arg1})
  1253  	fake.getDomainMutex.Unlock()
  1254  	if fake.GetDomainStub != nil {
  1255  		return fake.GetDomainStub(arg1)
  1256  	}
  1257  	if specificReturn {
  1258  		return ret.result1, ret.result2, ret.result3
  1259  	}
  1260  	fakeReturns := fake.getDomainReturns
  1261  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
  1262  }
  1263  
  1264  func (fake *FakeV7Actor) GetDomainCallCount() int {
  1265  	fake.getDomainMutex.RLock()
  1266  	defer fake.getDomainMutex.RUnlock()
  1267  	return len(fake.getDomainArgsForCall)
  1268  }
  1269  
  1270  func (fake *FakeV7Actor) GetDomainCalls(stub func(string) (v7action.Domain, v7action.Warnings, error)) {
  1271  	fake.getDomainMutex.Lock()
  1272  	defer fake.getDomainMutex.Unlock()
  1273  	fake.GetDomainStub = stub
  1274  }
  1275  
  1276  func (fake *FakeV7Actor) GetDomainArgsForCall(i int) string {
  1277  	fake.getDomainMutex.RLock()
  1278  	defer fake.getDomainMutex.RUnlock()
  1279  	argsForCall := fake.getDomainArgsForCall[i]
  1280  	return argsForCall.arg1
  1281  }
  1282  
  1283  func (fake *FakeV7Actor) GetDomainReturns(result1 v7action.Domain, result2 v7action.Warnings, result3 error) {
  1284  	fake.getDomainMutex.Lock()
  1285  	defer fake.getDomainMutex.Unlock()
  1286  	fake.GetDomainStub = nil
  1287  	fake.getDomainReturns = struct {
  1288  		result1 v7action.Domain
  1289  		result2 v7action.Warnings
  1290  		result3 error
  1291  	}{result1, result2, result3}
  1292  }
  1293  
  1294  func (fake *FakeV7Actor) GetDomainReturnsOnCall(i int, result1 v7action.Domain, result2 v7action.Warnings, result3 error) {
  1295  	fake.getDomainMutex.Lock()
  1296  	defer fake.getDomainMutex.Unlock()
  1297  	fake.GetDomainStub = nil
  1298  	if fake.getDomainReturnsOnCall == nil {
  1299  		fake.getDomainReturnsOnCall = make(map[int]struct {
  1300  			result1 v7action.Domain
  1301  			result2 v7action.Warnings
  1302  			result3 error
  1303  		})
  1304  	}
  1305  	fake.getDomainReturnsOnCall[i] = struct {
  1306  		result1 v7action.Domain
  1307  		result2 v7action.Warnings
  1308  		result3 error
  1309  	}{result1, result2, result3}
  1310  }
  1311  
  1312  func (fake *FakeV7Actor) GetRouteByAttributes(arg1 string, arg2 string, arg3 string, arg4 string) (v7action.Route, v7action.Warnings, error) {
  1313  	fake.getRouteByAttributesMutex.Lock()
  1314  	ret, specificReturn := fake.getRouteByAttributesReturnsOnCall[len(fake.getRouteByAttributesArgsForCall)]
  1315  	fake.getRouteByAttributesArgsForCall = append(fake.getRouteByAttributesArgsForCall, struct {
  1316  		arg1 string
  1317  		arg2 string
  1318  		arg3 string
  1319  		arg4 string
  1320  	}{arg1, arg2, arg3, arg4})
  1321  	fake.recordInvocation("GetRouteByAttributes", []interface{}{arg1, arg2, arg3, arg4})
  1322  	fake.getRouteByAttributesMutex.Unlock()
  1323  	if fake.GetRouteByAttributesStub != nil {
  1324  		return fake.GetRouteByAttributesStub(arg1, arg2, arg3, arg4)
  1325  	}
  1326  	if specificReturn {
  1327  		return ret.result1, ret.result2, ret.result3
  1328  	}
  1329  	fakeReturns := fake.getRouteByAttributesReturns
  1330  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
  1331  }
  1332  
  1333  func (fake *FakeV7Actor) GetRouteByAttributesCallCount() int {
  1334  	fake.getRouteByAttributesMutex.RLock()
  1335  	defer fake.getRouteByAttributesMutex.RUnlock()
  1336  	return len(fake.getRouteByAttributesArgsForCall)
  1337  }
  1338  
  1339  func (fake *FakeV7Actor) GetRouteByAttributesCalls(stub func(string, string, string, string) (v7action.Route, v7action.Warnings, error)) {
  1340  	fake.getRouteByAttributesMutex.Lock()
  1341  	defer fake.getRouteByAttributesMutex.Unlock()
  1342  	fake.GetRouteByAttributesStub = stub
  1343  }
  1344  
  1345  func (fake *FakeV7Actor) GetRouteByAttributesArgsForCall(i int) (string, string, string, string) {
  1346  	fake.getRouteByAttributesMutex.RLock()
  1347  	defer fake.getRouteByAttributesMutex.RUnlock()
  1348  	argsForCall := fake.getRouteByAttributesArgsForCall[i]
  1349  	return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4
  1350  }
  1351  
  1352  func (fake *FakeV7Actor) GetRouteByAttributesReturns(result1 v7action.Route, result2 v7action.Warnings, result3 error) {
  1353  	fake.getRouteByAttributesMutex.Lock()
  1354  	defer fake.getRouteByAttributesMutex.Unlock()
  1355  	fake.GetRouteByAttributesStub = nil
  1356  	fake.getRouteByAttributesReturns = struct {
  1357  		result1 v7action.Route
  1358  		result2 v7action.Warnings
  1359  		result3 error
  1360  	}{result1, result2, result3}
  1361  }
  1362  
  1363  func (fake *FakeV7Actor) GetRouteByAttributesReturnsOnCall(i int, result1 v7action.Route, result2 v7action.Warnings, result3 error) {
  1364  	fake.getRouteByAttributesMutex.Lock()
  1365  	defer fake.getRouteByAttributesMutex.Unlock()
  1366  	fake.GetRouteByAttributesStub = nil
  1367  	if fake.getRouteByAttributesReturnsOnCall == nil {
  1368  		fake.getRouteByAttributesReturnsOnCall = make(map[int]struct {
  1369  			result1 v7action.Route
  1370  			result2 v7action.Warnings
  1371  			result3 error
  1372  		})
  1373  	}
  1374  	fake.getRouteByAttributesReturnsOnCall[i] = struct {
  1375  		result1 v7action.Route
  1376  		result2 v7action.Warnings
  1377  		result3 error
  1378  	}{result1, result2, result3}
  1379  }
  1380  
  1381  func (fake *FakeV7Actor) GetRouteDestinationByAppGUID(arg1 string, arg2 string) (v7action.RouteDestination, v7action.Warnings, error) {
  1382  	fake.getRouteDestinationByAppGUIDMutex.Lock()
  1383  	ret, specificReturn := fake.getRouteDestinationByAppGUIDReturnsOnCall[len(fake.getRouteDestinationByAppGUIDArgsForCall)]
  1384  	fake.getRouteDestinationByAppGUIDArgsForCall = append(fake.getRouteDestinationByAppGUIDArgsForCall, struct {
  1385  		arg1 string
  1386  		arg2 string
  1387  	}{arg1, arg2})
  1388  	fake.recordInvocation("GetRouteDestinationByAppGUID", []interface{}{arg1, arg2})
  1389  	fake.getRouteDestinationByAppGUIDMutex.Unlock()
  1390  	if fake.GetRouteDestinationByAppGUIDStub != nil {
  1391  		return fake.GetRouteDestinationByAppGUIDStub(arg1, arg2)
  1392  	}
  1393  	if specificReturn {
  1394  		return ret.result1, ret.result2, ret.result3
  1395  	}
  1396  	fakeReturns := fake.getRouteDestinationByAppGUIDReturns
  1397  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
  1398  }
  1399  
  1400  func (fake *FakeV7Actor) GetRouteDestinationByAppGUIDCallCount() int {
  1401  	fake.getRouteDestinationByAppGUIDMutex.RLock()
  1402  	defer fake.getRouteDestinationByAppGUIDMutex.RUnlock()
  1403  	return len(fake.getRouteDestinationByAppGUIDArgsForCall)
  1404  }
  1405  
  1406  func (fake *FakeV7Actor) GetRouteDestinationByAppGUIDCalls(stub func(string, string) (v7action.RouteDestination, v7action.Warnings, error)) {
  1407  	fake.getRouteDestinationByAppGUIDMutex.Lock()
  1408  	defer fake.getRouteDestinationByAppGUIDMutex.Unlock()
  1409  	fake.GetRouteDestinationByAppGUIDStub = stub
  1410  }
  1411  
  1412  func (fake *FakeV7Actor) GetRouteDestinationByAppGUIDArgsForCall(i int) (string, string) {
  1413  	fake.getRouteDestinationByAppGUIDMutex.RLock()
  1414  	defer fake.getRouteDestinationByAppGUIDMutex.RUnlock()
  1415  	argsForCall := fake.getRouteDestinationByAppGUIDArgsForCall[i]
  1416  	return argsForCall.arg1, argsForCall.arg2
  1417  }
  1418  
  1419  func (fake *FakeV7Actor) GetRouteDestinationByAppGUIDReturns(result1 v7action.RouteDestination, result2 v7action.Warnings, result3 error) {
  1420  	fake.getRouteDestinationByAppGUIDMutex.Lock()
  1421  	defer fake.getRouteDestinationByAppGUIDMutex.Unlock()
  1422  	fake.GetRouteDestinationByAppGUIDStub = nil
  1423  	fake.getRouteDestinationByAppGUIDReturns = struct {
  1424  		result1 v7action.RouteDestination
  1425  		result2 v7action.Warnings
  1426  		result3 error
  1427  	}{result1, result2, result3}
  1428  }
  1429  
  1430  func (fake *FakeV7Actor) GetRouteDestinationByAppGUIDReturnsOnCall(i int, result1 v7action.RouteDestination, result2 v7action.Warnings, result3 error) {
  1431  	fake.getRouteDestinationByAppGUIDMutex.Lock()
  1432  	defer fake.getRouteDestinationByAppGUIDMutex.Unlock()
  1433  	fake.GetRouteDestinationByAppGUIDStub = nil
  1434  	if fake.getRouteDestinationByAppGUIDReturnsOnCall == nil {
  1435  		fake.getRouteDestinationByAppGUIDReturnsOnCall = make(map[int]struct {
  1436  			result1 v7action.RouteDestination
  1437  			result2 v7action.Warnings
  1438  			result3 error
  1439  		})
  1440  	}
  1441  	fake.getRouteDestinationByAppGUIDReturnsOnCall[i] = struct {
  1442  		result1 v7action.RouteDestination
  1443  		result2 v7action.Warnings
  1444  		result3 error
  1445  	}{result1, result2, result3}
  1446  }
  1447  
  1448  func (fake *FakeV7Actor) MapRoute(arg1 string, arg2 string) (v7action.Warnings, error) {
  1449  	fake.mapRouteMutex.Lock()
  1450  	ret, specificReturn := fake.mapRouteReturnsOnCall[len(fake.mapRouteArgsForCall)]
  1451  	fake.mapRouteArgsForCall = append(fake.mapRouteArgsForCall, struct {
  1452  		arg1 string
  1453  		arg2 string
  1454  	}{arg1, arg2})
  1455  	fake.recordInvocation("MapRoute", []interface{}{arg1, arg2})
  1456  	fake.mapRouteMutex.Unlock()
  1457  	if fake.MapRouteStub != nil {
  1458  		return fake.MapRouteStub(arg1, arg2)
  1459  	}
  1460  	if specificReturn {
  1461  		return ret.result1, ret.result2
  1462  	}
  1463  	fakeReturns := fake.mapRouteReturns
  1464  	return fakeReturns.result1, fakeReturns.result2
  1465  }
  1466  
  1467  func (fake *FakeV7Actor) MapRouteCallCount() int {
  1468  	fake.mapRouteMutex.RLock()
  1469  	defer fake.mapRouteMutex.RUnlock()
  1470  	return len(fake.mapRouteArgsForCall)
  1471  }
  1472  
  1473  func (fake *FakeV7Actor) MapRouteCalls(stub func(string, string) (v7action.Warnings, error)) {
  1474  	fake.mapRouteMutex.Lock()
  1475  	defer fake.mapRouteMutex.Unlock()
  1476  	fake.MapRouteStub = stub
  1477  }
  1478  
  1479  func (fake *FakeV7Actor) MapRouteArgsForCall(i int) (string, string) {
  1480  	fake.mapRouteMutex.RLock()
  1481  	defer fake.mapRouteMutex.RUnlock()
  1482  	argsForCall := fake.mapRouteArgsForCall[i]
  1483  	return argsForCall.arg1, argsForCall.arg2
  1484  }
  1485  
  1486  func (fake *FakeV7Actor) MapRouteReturns(result1 v7action.Warnings, result2 error) {
  1487  	fake.mapRouteMutex.Lock()
  1488  	defer fake.mapRouteMutex.Unlock()
  1489  	fake.MapRouteStub = nil
  1490  	fake.mapRouteReturns = struct {
  1491  		result1 v7action.Warnings
  1492  		result2 error
  1493  	}{result1, result2}
  1494  }
  1495  
  1496  func (fake *FakeV7Actor) MapRouteReturnsOnCall(i int, result1 v7action.Warnings, result2 error) {
  1497  	fake.mapRouteMutex.Lock()
  1498  	defer fake.mapRouteMutex.Unlock()
  1499  	fake.MapRouteStub = nil
  1500  	if fake.mapRouteReturnsOnCall == nil {
  1501  		fake.mapRouteReturnsOnCall = make(map[int]struct {
  1502  			result1 v7action.Warnings
  1503  			result2 error
  1504  		})
  1505  	}
  1506  	fake.mapRouteReturnsOnCall[i] = struct {
  1507  		result1 v7action.Warnings
  1508  		result2 error
  1509  	}{result1, result2}
  1510  }
  1511  
  1512  func (fake *FakeV7Actor) PollBuild(arg1 string, arg2 string) (v7action.Droplet, v7action.Warnings, error) {
  1513  	fake.pollBuildMutex.Lock()
  1514  	ret, specificReturn := fake.pollBuildReturnsOnCall[len(fake.pollBuildArgsForCall)]
  1515  	fake.pollBuildArgsForCall = append(fake.pollBuildArgsForCall, struct {
  1516  		arg1 string
  1517  		arg2 string
  1518  	}{arg1, arg2})
  1519  	fake.recordInvocation("PollBuild", []interface{}{arg1, arg2})
  1520  	fake.pollBuildMutex.Unlock()
  1521  	if fake.PollBuildStub != nil {
  1522  		return fake.PollBuildStub(arg1, arg2)
  1523  	}
  1524  	if specificReturn {
  1525  		return ret.result1, ret.result2, ret.result3
  1526  	}
  1527  	fakeReturns := fake.pollBuildReturns
  1528  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
  1529  }
  1530  
  1531  func (fake *FakeV7Actor) PollBuildCallCount() int {
  1532  	fake.pollBuildMutex.RLock()
  1533  	defer fake.pollBuildMutex.RUnlock()
  1534  	return len(fake.pollBuildArgsForCall)
  1535  }
  1536  
  1537  func (fake *FakeV7Actor) PollBuildCalls(stub func(string, string) (v7action.Droplet, v7action.Warnings, error)) {
  1538  	fake.pollBuildMutex.Lock()
  1539  	defer fake.pollBuildMutex.Unlock()
  1540  	fake.PollBuildStub = stub
  1541  }
  1542  
  1543  func (fake *FakeV7Actor) PollBuildArgsForCall(i int) (string, string) {
  1544  	fake.pollBuildMutex.RLock()
  1545  	defer fake.pollBuildMutex.RUnlock()
  1546  	argsForCall := fake.pollBuildArgsForCall[i]
  1547  	return argsForCall.arg1, argsForCall.arg2
  1548  }
  1549  
  1550  func (fake *FakeV7Actor) PollBuildReturns(result1 v7action.Droplet, result2 v7action.Warnings, result3 error) {
  1551  	fake.pollBuildMutex.Lock()
  1552  	defer fake.pollBuildMutex.Unlock()
  1553  	fake.PollBuildStub = nil
  1554  	fake.pollBuildReturns = struct {
  1555  		result1 v7action.Droplet
  1556  		result2 v7action.Warnings
  1557  		result3 error
  1558  	}{result1, result2, result3}
  1559  }
  1560  
  1561  func (fake *FakeV7Actor) PollBuildReturnsOnCall(i int, result1 v7action.Droplet, result2 v7action.Warnings, result3 error) {
  1562  	fake.pollBuildMutex.Lock()
  1563  	defer fake.pollBuildMutex.Unlock()
  1564  	fake.PollBuildStub = nil
  1565  	if fake.pollBuildReturnsOnCall == nil {
  1566  		fake.pollBuildReturnsOnCall = make(map[int]struct {
  1567  			result1 v7action.Droplet
  1568  			result2 v7action.Warnings
  1569  			result3 error
  1570  		})
  1571  	}
  1572  	fake.pollBuildReturnsOnCall[i] = struct {
  1573  		result1 v7action.Droplet
  1574  		result2 v7action.Warnings
  1575  		result3 error
  1576  	}{result1, result2, result3}
  1577  }
  1578  
  1579  func (fake *FakeV7Actor) PollPackage(arg1 v7action.Package) (v7action.Package, v7action.Warnings, error) {
  1580  	fake.pollPackageMutex.Lock()
  1581  	ret, specificReturn := fake.pollPackageReturnsOnCall[len(fake.pollPackageArgsForCall)]
  1582  	fake.pollPackageArgsForCall = append(fake.pollPackageArgsForCall, struct {
  1583  		arg1 v7action.Package
  1584  	}{arg1})
  1585  	fake.recordInvocation("PollPackage", []interface{}{arg1})
  1586  	fake.pollPackageMutex.Unlock()
  1587  	if fake.PollPackageStub != nil {
  1588  		return fake.PollPackageStub(arg1)
  1589  	}
  1590  	if specificReturn {
  1591  		return ret.result1, ret.result2, ret.result3
  1592  	}
  1593  	fakeReturns := fake.pollPackageReturns
  1594  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
  1595  }
  1596  
  1597  func (fake *FakeV7Actor) PollPackageCallCount() int {
  1598  	fake.pollPackageMutex.RLock()
  1599  	defer fake.pollPackageMutex.RUnlock()
  1600  	return len(fake.pollPackageArgsForCall)
  1601  }
  1602  
  1603  func (fake *FakeV7Actor) PollPackageCalls(stub func(v7action.Package) (v7action.Package, v7action.Warnings, error)) {
  1604  	fake.pollPackageMutex.Lock()
  1605  	defer fake.pollPackageMutex.Unlock()
  1606  	fake.PollPackageStub = stub
  1607  }
  1608  
  1609  func (fake *FakeV7Actor) PollPackageArgsForCall(i int) v7action.Package {
  1610  	fake.pollPackageMutex.RLock()
  1611  	defer fake.pollPackageMutex.RUnlock()
  1612  	argsForCall := fake.pollPackageArgsForCall[i]
  1613  	return argsForCall.arg1
  1614  }
  1615  
  1616  func (fake *FakeV7Actor) PollPackageReturns(result1 v7action.Package, result2 v7action.Warnings, result3 error) {
  1617  	fake.pollPackageMutex.Lock()
  1618  	defer fake.pollPackageMutex.Unlock()
  1619  	fake.PollPackageStub = nil
  1620  	fake.pollPackageReturns = struct {
  1621  		result1 v7action.Package
  1622  		result2 v7action.Warnings
  1623  		result3 error
  1624  	}{result1, result2, result3}
  1625  }
  1626  
  1627  func (fake *FakeV7Actor) PollPackageReturnsOnCall(i int, result1 v7action.Package, result2 v7action.Warnings, result3 error) {
  1628  	fake.pollPackageMutex.Lock()
  1629  	defer fake.pollPackageMutex.Unlock()
  1630  	fake.PollPackageStub = nil
  1631  	if fake.pollPackageReturnsOnCall == nil {
  1632  		fake.pollPackageReturnsOnCall = make(map[int]struct {
  1633  			result1 v7action.Package
  1634  			result2 v7action.Warnings
  1635  			result3 error
  1636  		})
  1637  	}
  1638  	fake.pollPackageReturnsOnCall[i] = struct {
  1639  		result1 v7action.Package
  1640  		result2 v7action.Warnings
  1641  		result3 error
  1642  	}{result1, result2, result3}
  1643  }
  1644  
  1645  func (fake *FakeV7Actor) PollStart(arg1 string, arg2 bool) (v7action.Warnings, error) {
  1646  	fake.pollStartMutex.Lock()
  1647  	ret, specificReturn := fake.pollStartReturnsOnCall[len(fake.pollStartArgsForCall)]
  1648  	fake.pollStartArgsForCall = append(fake.pollStartArgsForCall, struct {
  1649  		arg1 string
  1650  		arg2 bool
  1651  	}{arg1, arg2})
  1652  	fake.recordInvocation("PollStart", []interface{}{arg1, arg2})
  1653  	fake.pollStartMutex.Unlock()
  1654  	if fake.PollStartStub != nil {
  1655  		return fake.PollStartStub(arg1, arg2)
  1656  	}
  1657  	if specificReturn {
  1658  		return ret.result1, ret.result2
  1659  	}
  1660  	fakeReturns := fake.pollStartReturns
  1661  	return fakeReturns.result1, fakeReturns.result2
  1662  }
  1663  
  1664  func (fake *FakeV7Actor) PollStartCallCount() int {
  1665  	fake.pollStartMutex.RLock()
  1666  	defer fake.pollStartMutex.RUnlock()
  1667  	return len(fake.pollStartArgsForCall)
  1668  }
  1669  
  1670  func (fake *FakeV7Actor) PollStartCalls(stub func(string, bool) (v7action.Warnings, error)) {
  1671  	fake.pollStartMutex.Lock()
  1672  	defer fake.pollStartMutex.Unlock()
  1673  	fake.PollStartStub = stub
  1674  }
  1675  
  1676  func (fake *FakeV7Actor) PollStartArgsForCall(i int) (string, bool) {
  1677  	fake.pollStartMutex.RLock()
  1678  	defer fake.pollStartMutex.RUnlock()
  1679  	argsForCall := fake.pollStartArgsForCall[i]
  1680  	return argsForCall.arg1, argsForCall.arg2
  1681  }
  1682  
  1683  func (fake *FakeV7Actor) PollStartReturns(result1 v7action.Warnings, result2 error) {
  1684  	fake.pollStartMutex.Lock()
  1685  	defer fake.pollStartMutex.Unlock()
  1686  	fake.PollStartStub = nil
  1687  	fake.pollStartReturns = struct {
  1688  		result1 v7action.Warnings
  1689  		result2 error
  1690  	}{result1, result2}
  1691  }
  1692  
  1693  func (fake *FakeV7Actor) PollStartReturnsOnCall(i int, result1 v7action.Warnings, result2 error) {
  1694  	fake.pollStartMutex.Lock()
  1695  	defer fake.pollStartMutex.Unlock()
  1696  	fake.PollStartStub = nil
  1697  	if fake.pollStartReturnsOnCall == nil {
  1698  		fake.pollStartReturnsOnCall = make(map[int]struct {
  1699  			result1 v7action.Warnings
  1700  			result2 error
  1701  		})
  1702  	}
  1703  	fake.pollStartReturnsOnCall[i] = struct {
  1704  		result1 v7action.Warnings
  1705  		result2 error
  1706  	}{result1, result2}
  1707  }
  1708  
  1709  func (fake *FakeV7Actor) PollStartForRolling(arg1 string, arg2 string, arg3 bool) (v7action.Warnings, error) {
  1710  	fake.pollStartForRollingMutex.Lock()
  1711  	ret, specificReturn := fake.pollStartForRollingReturnsOnCall[len(fake.pollStartForRollingArgsForCall)]
  1712  	fake.pollStartForRollingArgsForCall = append(fake.pollStartForRollingArgsForCall, struct {
  1713  		arg1 string
  1714  		arg2 string
  1715  		arg3 bool
  1716  	}{arg1, arg2, arg3})
  1717  	fake.recordInvocation("PollStartForRolling", []interface{}{arg1, arg2, arg3})
  1718  	fake.pollStartForRollingMutex.Unlock()
  1719  	if fake.PollStartForRollingStub != nil {
  1720  		return fake.PollStartForRollingStub(arg1, arg2, arg3)
  1721  	}
  1722  	if specificReturn {
  1723  		return ret.result1, ret.result2
  1724  	}
  1725  	fakeReturns := fake.pollStartForRollingReturns
  1726  	return fakeReturns.result1, fakeReturns.result2
  1727  }
  1728  
  1729  func (fake *FakeV7Actor) PollStartForRollingCallCount() int {
  1730  	fake.pollStartForRollingMutex.RLock()
  1731  	defer fake.pollStartForRollingMutex.RUnlock()
  1732  	return len(fake.pollStartForRollingArgsForCall)
  1733  }
  1734  
  1735  func (fake *FakeV7Actor) PollStartForRollingCalls(stub func(string, string, bool) (v7action.Warnings, error)) {
  1736  	fake.pollStartForRollingMutex.Lock()
  1737  	defer fake.pollStartForRollingMutex.Unlock()
  1738  	fake.PollStartForRollingStub = stub
  1739  }
  1740  
  1741  func (fake *FakeV7Actor) PollStartForRollingArgsForCall(i int) (string, string, bool) {
  1742  	fake.pollStartForRollingMutex.RLock()
  1743  	defer fake.pollStartForRollingMutex.RUnlock()
  1744  	argsForCall := fake.pollStartForRollingArgsForCall[i]
  1745  	return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3
  1746  }
  1747  
  1748  func (fake *FakeV7Actor) PollStartForRollingReturns(result1 v7action.Warnings, result2 error) {
  1749  	fake.pollStartForRollingMutex.Lock()
  1750  	defer fake.pollStartForRollingMutex.Unlock()
  1751  	fake.PollStartForRollingStub = nil
  1752  	fake.pollStartForRollingReturns = struct {
  1753  		result1 v7action.Warnings
  1754  		result2 error
  1755  	}{result1, result2}
  1756  }
  1757  
  1758  func (fake *FakeV7Actor) PollStartForRollingReturnsOnCall(i int, result1 v7action.Warnings, result2 error) {
  1759  	fake.pollStartForRollingMutex.Lock()
  1760  	defer fake.pollStartForRollingMutex.Unlock()
  1761  	fake.PollStartForRollingStub = nil
  1762  	if fake.pollStartForRollingReturnsOnCall == nil {
  1763  		fake.pollStartForRollingReturnsOnCall = make(map[int]struct {
  1764  			result1 v7action.Warnings
  1765  			result2 error
  1766  		})
  1767  	}
  1768  	fake.pollStartForRollingReturnsOnCall[i] = struct {
  1769  		result1 v7action.Warnings
  1770  		result2 error
  1771  	}{result1, result2}
  1772  }
  1773  
  1774  func (fake *FakeV7Actor) ResourceMatch(arg1 []sharedaction.V3Resource) ([]sharedaction.V3Resource, v7action.Warnings, error) {
  1775  	var arg1Copy []sharedaction.V3Resource
  1776  	if arg1 != nil {
  1777  		arg1Copy = make([]sharedaction.V3Resource, len(arg1))
  1778  		copy(arg1Copy, arg1)
  1779  	}
  1780  	fake.resourceMatchMutex.Lock()
  1781  	ret, specificReturn := fake.resourceMatchReturnsOnCall[len(fake.resourceMatchArgsForCall)]
  1782  	fake.resourceMatchArgsForCall = append(fake.resourceMatchArgsForCall, struct {
  1783  		arg1 []sharedaction.V3Resource
  1784  	}{arg1Copy})
  1785  	fake.recordInvocation("ResourceMatch", []interface{}{arg1Copy})
  1786  	fake.resourceMatchMutex.Unlock()
  1787  	if fake.ResourceMatchStub != nil {
  1788  		return fake.ResourceMatchStub(arg1)
  1789  	}
  1790  	if specificReturn {
  1791  		return ret.result1, ret.result2, ret.result3
  1792  	}
  1793  	fakeReturns := fake.resourceMatchReturns
  1794  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
  1795  }
  1796  
  1797  func (fake *FakeV7Actor) ResourceMatchCallCount() int {
  1798  	fake.resourceMatchMutex.RLock()
  1799  	defer fake.resourceMatchMutex.RUnlock()
  1800  	return len(fake.resourceMatchArgsForCall)
  1801  }
  1802  
  1803  func (fake *FakeV7Actor) ResourceMatchCalls(stub func([]sharedaction.V3Resource) ([]sharedaction.V3Resource, v7action.Warnings, error)) {
  1804  	fake.resourceMatchMutex.Lock()
  1805  	defer fake.resourceMatchMutex.Unlock()
  1806  	fake.ResourceMatchStub = stub
  1807  }
  1808  
  1809  func (fake *FakeV7Actor) ResourceMatchArgsForCall(i int) []sharedaction.V3Resource {
  1810  	fake.resourceMatchMutex.RLock()
  1811  	defer fake.resourceMatchMutex.RUnlock()
  1812  	argsForCall := fake.resourceMatchArgsForCall[i]
  1813  	return argsForCall.arg1
  1814  }
  1815  
  1816  func (fake *FakeV7Actor) ResourceMatchReturns(result1 []sharedaction.V3Resource, result2 v7action.Warnings, result3 error) {
  1817  	fake.resourceMatchMutex.Lock()
  1818  	defer fake.resourceMatchMutex.Unlock()
  1819  	fake.ResourceMatchStub = nil
  1820  	fake.resourceMatchReturns = struct {
  1821  		result1 []sharedaction.V3Resource
  1822  		result2 v7action.Warnings
  1823  		result3 error
  1824  	}{result1, result2, result3}
  1825  }
  1826  
  1827  func (fake *FakeV7Actor) ResourceMatchReturnsOnCall(i int, result1 []sharedaction.V3Resource, result2 v7action.Warnings, result3 error) {
  1828  	fake.resourceMatchMutex.Lock()
  1829  	defer fake.resourceMatchMutex.Unlock()
  1830  	fake.ResourceMatchStub = nil
  1831  	if fake.resourceMatchReturnsOnCall == nil {
  1832  		fake.resourceMatchReturnsOnCall = make(map[int]struct {
  1833  			result1 []sharedaction.V3Resource
  1834  			result2 v7action.Warnings
  1835  			result3 error
  1836  		})
  1837  	}
  1838  	fake.resourceMatchReturnsOnCall[i] = struct {
  1839  		result1 []sharedaction.V3Resource
  1840  		result2 v7action.Warnings
  1841  		result3 error
  1842  	}{result1, result2, result3}
  1843  }
  1844  
  1845  func (fake *FakeV7Actor) RestartApplication(arg1 string, arg2 bool) (v7action.Warnings, error) {
  1846  	fake.restartApplicationMutex.Lock()
  1847  	ret, specificReturn := fake.restartApplicationReturnsOnCall[len(fake.restartApplicationArgsForCall)]
  1848  	fake.restartApplicationArgsForCall = append(fake.restartApplicationArgsForCall, struct {
  1849  		arg1 string
  1850  		arg2 bool
  1851  	}{arg1, arg2})
  1852  	fake.recordInvocation("RestartApplication", []interface{}{arg1, arg2})
  1853  	fake.restartApplicationMutex.Unlock()
  1854  	if fake.RestartApplicationStub != nil {
  1855  		return fake.RestartApplicationStub(arg1, arg2)
  1856  	}
  1857  	if specificReturn {
  1858  		return ret.result1, ret.result2
  1859  	}
  1860  	fakeReturns := fake.restartApplicationReturns
  1861  	return fakeReturns.result1, fakeReturns.result2
  1862  }
  1863  
  1864  func (fake *FakeV7Actor) RestartApplicationCallCount() int {
  1865  	fake.restartApplicationMutex.RLock()
  1866  	defer fake.restartApplicationMutex.RUnlock()
  1867  	return len(fake.restartApplicationArgsForCall)
  1868  }
  1869  
  1870  func (fake *FakeV7Actor) RestartApplicationCalls(stub func(string, bool) (v7action.Warnings, error)) {
  1871  	fake.restartApplicationMutex.Lock()
  1872  	defer fake.restartApplicationMutex.Unlock()
  1873  	fake.RestartApplicationStub = stub
  1874  }
  1875  
  1876  func (fake *FakeV7Actor) RestartApplicationArgsForCall(i int) (string, bool) {
  1877  	fake.restartApplicationMutex.RLock()
  1878  	defer fake.restartApplicationMutex.RUnlock()
  1879  	argsForCall := fake.restartApplicationArgsForCall[i]
  1880  	return argsForCall.arg1, argsForCall.arg2
  1881  }
  1882  
  1883  func (fake *FakeV7Actor) RestartApplicationReturns(result1 v7action.Warnings, result2 error) {
  1884  	fake.restartApplicationMutex.Lock()
  1885  	defer fake.restartApplicationMutex.Unlock()
  1886  	fake.RestartApplicationStub = nil
  1887  	fake.restartApplicationReturns = struct {
  1888  		result1 v7action.Warnings
  1889  		result2 error
  1890  	}{result1, result2}
  1891  }
  1892  
  1893  func (fake *FakeV7Actor) RestartApplicationReturnsOnCall(i int, result1 v7action.Warnings, result2 error) {
  1894  	fake.restartApplicationMutex.Lock()
  1895  	defer fake.restartApplicationMutex.Unlock()
  1896  	fake.RestartApplicationStub = nil
  1897  	if fake.restartApplicationReturnsOnCall == nil {
  1898  		fake.restartApplicationReturnsOnCall = make(map[int]struct {
  1899  			result1 v7action.Warnings
  1900  			result2 error
  1901  		})
  1902  	}
  1903  	fake.restartApplicationReturnsOnCall[i] = struct {
  1904  		result1 v7action.Warnings
  1905  		result2 error
  1906  	}{result1, result2}
  1907  }
  1908  
  1909  func (fake *FakeV7Actor) ScaleProcessByApplication(arg1 string, arg2 v7action.Process) (v7action.Warnings, error) {
  1910  	fake.scaleProcessByApplicationMutex.Lock()
  1911  	ret, specificReturn := fake.scaleProcessByApplicationReturnsOnCall[len(fake.scaleProcessByApplicationArgsForCall)]
  1912  	fake.scaleProcessByApplicationArgsForCall = append(fake.scaleProcessByApplicationArgsForCall, struct {
  1913  		arg1 string
  1914  		arg2 v7action.Process
  1915  	}{arg1, arg2})
  1916  	fake.recordInvocation("ScaleProcessByApplication", []interface{}{arg1, arg2})
  1917  	fake.scaleProcessByApplicationMutex.Unlock()
  1918  	if fake.ScaleProcessByApplicationStub != nil {
  1919  		return fake.ScaleProcessByApplicationStub(arg1, arg2)
  1920  	}
  1921  	if specificReturn {
  1922  		return ret.result1, ret.result2
  1923  	}
  1924  	fakeReturns := fake.scaleProcessByApplicationReturns
  1925  	return fakeReturns.result1, fakeReturns.result2
  1926  }
  1927  
  1928  func (fake *FakeV7Actor) ScaleProcessByApplicationCallCount() int {
  1929  	fake.scaleProcessByApplicationMutex.RLock()
  1930  	defer fake.scaleProcessByApplicationMutex.RUnlock()
  1931  	return len(fake.scaleProcessByApplicationArgsForCall)
  1932  }
  1933  
  1934  func (fake *FakeV7Actor) ScaleProcessByApplicationCalls(stub func(string, v7action.Process) (v7action.Warnings, error)) {
  1935  	fake.scaleProcessByApplicationMutex.Lock()
  1936  	defer fake.scaleProcessByApplicationMutex.Unlock()
  1937  	fake.ScaleProcessByApplicationStub = stub
  1938  }
  1939  
  1940  func (fake *FakeV7Actor) ScaleProcessByApplicationArgsForCall(i int) (string, v7action.Process) {
  1941  	fake.scaleProcessByApplicationMutex.RLock()
  1942  	defer fake.scaleProcessByApplicationMutex.RUnlock()
  1943  	argsForCall := fake.scaleProcessByApplicationArgsForCall[i]
  1944  	return argsForCall.arg1, argsForCall.arg2
  1945  }
  1946  
  1947  func (fake *FakeV7Actor) ScaleProcessByApplicationReturns(result1 v7action.Warnings, result2 error) {
  1948  	fake.scaleProcessByApplicationMutex.Lock()
  1949  	defer fake.scaleProcessByApplicationMutex.Unlock()
  1950  	fake.ScaleProcessByApplicationStub = nil
  1951  	fake.scaleProcessByApplicationReturns = struct {
  1952  		result1 v7action.Warnings
  1953  		result2 error
  1954  	}{result1, result2}
  1955  }
  1956  
  1957  func (fake *FakeV7Actor) ScaleProcessByApplicationReturnsOnCall(i int, result1 v7action.Warnings, result2 error) {
  1958  	fake.scaleProcessByApplicationMutex.Lock()
  1959  	defer fake.scaleProcessByApplicationMutex.Unlock()
  1960  	fake.ScaleProcessByApplicationStub = nil
  1961  	if fake.scaleProcessByApplicationReturnsOnCall == nil {
  1962  		fake.scaleProcessByApplicationReturnsOnCall = make(map[int]struct {
  1963  			result1 v7action.Warnings
  1964  			result2 error
  1965  		})
  1966  	}
  1967  	fake.scaleProcessByApplicationReturnsOnCall[i] = struct {
  1968  		result1 v7action.Warnings
  1969  		result2 error
  1970  	}{result1, result2}
  1971  }
  1972  
  1973  func (fake *FakeV7Actor) SetApplicationDroplet(arg1 string, arg2 string) (v7action.Warnings, error) {
  1974  	fake.setApplicationDropletMutex.Lock()
  1975  	ret, specificReturn := fake.setApplicationDropletReturnsOnCall[len(fake.setApplicationDropletArgsForCall)]
  1976  	fake.setApplicationDropletArgsForCall = append(fake.setApplicationDropletArgsForCall, struct {
  1977  		arg1 string
  1978  		arg2 string
  1979  	}{arg1, arg2})
  1980  	fake.recordInvocation("SetApplicationDroplet", []interface{}{arg1, arg2})
  1981  	fake.setApplicationDropletMutex.Unlock()
  1982  	if fake.SetApplicationDropletStub != nil {
  1983  		return fake.SetApplicationDropletStub(arg1, arg2)
  1984  	}
  1985  	if specificReturn {
  1986  		return ret.result1, ret.result2
  1987  	}
  1988  	fakeReturns := fake.setApplicationDropletReturns
  1989  	return fakeReturns.result1, fakeReturns.result2
  1990  }
  1991  
  1992  func (fake *FakeV7Actor) SetApplicationDropletCallCount() int {
  1993  	fake.setApplicationDropletMutex.RLock()
  1994  	defer fake.setApplicationDropletMutex.RUnlock()
  1995  	return len(fake.setApplicationDropletArgsForCall)
  1996  }
  1997  
  1998  func (fake *FakeV7Actor) SetApplicationDropletCalls(stub func(string, string) (v7action.Warnings, error)) {
  1999  	fake.setApplicationDropletMutex.Lock()
  2000  	defer fake.setApplicationDropletMutex.Unlock()
  2001  	fake.SetApplicationDropletStub = stub
  2002  }
  2003  
  2004  func (fake *FakeV7Actor) SetApplicationDropletArgsForCall(i int) (string, string) {
  2005  	fake.setApplicationDropletMutex.RLock()
  2006  	defer fake.setApplicationDropletMutex.RUnlock()
  2007  	argsForCall := fake.setApplicationDropletArgsForCall[i]
  2008  	return argsForCall.arg1, argsForCall.arg2
  2009  }
  2010  
  2011  func (fake *FakeV7Actor) SetApplicationDropletReturns(result1 v7action.Warnings, result2 error) {
  2012  	fake.setApplicationDropletMutex.Lock()
  2013  	defer fake.setApplicationDropletMutex.Unlock()
  2014  	fake.SetApplicationDropletStub = nil
  2015  	fake.setApplicationDropletReturns = struct {
  2016  		result1 v7action.Warnings
  2017  		result2 error
  2018  	}{result1, result2}
  2019  }
  2020  
  2021  func (fake *FakeV7Actor) SetApplicationDropletReturnsOnCall(i int, result1 v7action.Warnings, result2 error) {
  2022  	fake.setApplicationDropletMutex.Lock()
  2023  	defer fake.setApplicationDropletMutex.Unlock()
  2024  	fake.SetApplicationDropletStub = nil
  2025  	if fake.setApplicationDropletReturnsOnCall == nil {
  2026  		fake.setApplicationDropletReturnsOnCall = make(map[int]struct {
  2027  			result1 v7action.Warnings
  2028  			result2 error
  2029  		})
  2030  	}
  2031  	fake.setApplicationDropletReturnsOnCall[i] = struct {
  2032  		result1 v7action.Warnings
  2033  		result2 error
  2034  	}{result1, result2}
  2035  }
  2036  
  2037  func (fake *FakeV7Actor) SetApplicationManifest(arg1 string, arg2 []byte) (v7action.Warnings, error) {
  2038  	var arg2Copy []byte
  2039  	if arg2 != nil {
  2040  		arg2Copy = make([]byte, len(arg2))
  2041  		copy(arg2Copy, arg2)
  2042  	}
  2043  	fake.setApplicationManifestMutex.Lock()
  2044  	ret, specificReturn := fake.setApplicationManifestReturnsOnCall[len(fake.setApplicationManifestArgsForCall)]
  2045  	fake.setApplicationManifestArgsForCall = append(fake.setApplicationManifestArgsForCall, struct {
  2046  		arg1 string
  2047  		arg2 []byte
  2048  	}{arg1, arg2Copy})
  2049  	fake.recordInvocation("SetApplicationManifest", []interface{}{arg1, arg2Copy})
  2050  	fake.setApplicationManifestMutex.Unlock()
  2051  	if fake.SetApplicationManifestStub != nil {
  2052  		return fake.SetApplicationManifestStub(arg1, arg2)
  2053  	}
  2054  	if specificReturn {
  2055  		return ret.result1, ret.result2
  2056  	}
  2057  	fakeReturns := fake.setApplicationManifestReturns
  2058  	return fakeReturns.result1, fakeReturns.result2
  2059  }
  2060  
  2061  func (fake *FakeV7Actor) SetApplicationManifestCallCount() int {
  2062  	fake.setApplicationManifestMutex.RLock()
  2063  	defer fake.setApplicationManifestMutex.RUnlock()
  2064  	return len(fake.setApplicationManifestArgsForCall)
  2065  }
  2066  
  2067  func (fake *FakeV7Actor) SetApplicationManifestCalls(stub func(string, []byte) (v7action.Warnings, error)) {
  2068  	fake.setApplicationManifestMutex.Lock()
  2069  	defer fake.setApplicationManifestMutex.Unlock()
  2070  	fake.SetApplicationManifestStub = stub
  2071  }
  2072  
  2073  func (fake *FakeV7Actor) SetApplicationManifestArgsForCall(i int) (string, []byte) {
  2074  	fake.setApplicationManifestMutex.RLock()
  2075  	defer fake.setApplicationManifestMutex.RUnlock()
  2076  	argsForCall := fake.setApplicationManifestArgsForCall[i]
  2077  	return argsForCall.arg1, argsForCall.arg2
  2078  }
  2079  
  2080  func (fake *FakeV7Actor) SetApplicationManifestReturns(result1 v7action.Warnings, result2 error) {
  2081  	fake.setApplicationManifestMutex.Lock()
  2082  	defer fake.setApplicationManifestMutex.Unlock()
  2083  	fake.SetApplicationManifestStub = nil
  2084  	fake.setApplicationManifestReturns = struct {
  2085  		result1 v7action.Warnings
  2086  		result2 error
  2087  	}{result1, result2}
  2088  }
  2089  
  2090  func (fake *FakeV7Actor) SetApplicationManifestReturnsOnCall(i int, result1 v7action.Warnings, result2 error) {
  2091  	fake.setApplicationManifestMutex.Lock()
  2092  	defer fake.setApplicationManifestMutex.Unlock()
  2093  	fake.SetApplicationManifestStub = nil
  2094  	if fake.setApplicationManifestReturnsOnCall == nil {
  2095  		fake.setApplicationManifestReturnsOnCall = make(map[int]struct {
  2096  			result1 v7action.Warnings
  2097  			result2 error
  2098  		})
  2099  	}
  2100  	fake.setApplicationManifestReturnsOnCall[i] = struct {
  2101  		result1 v7action.Warnings
  2102  		result2 error
  2103  	}{result1, result2}
  2104  }
  2105  
  2106  func (fake *FakeV7Actor) SetSpaceManifest(arg1 string, arg2 []byte) (v7action.Warnings, error) {
  2107  	var arg2Copy []byte
  2108  	if arg2 != nil {
  2109  		arg2Copy = make([]byte, len(arg2))
  2110  		copy(arg2Copy, arg2)
  2111  	}
  2112  	fake.setSpaceManifestMutex.Lock()
  2113  	ret, specificReturn := fake.setSpaceManifestReturnsOnCall[len(fake.setSpaceManifestArgsForCall)]
  2114  	fake.setSpaceManifestArgsForCall = append(fake.setSpaceManifestArgsForCall, struct {
  2115  		arg1 string
  2116  		arg2 []byte
  2117  	}{arg1, arg2Copy})
  2118  	fake.recordInvocation("SetSpaceManifest", []interface{}{arg1, arg2Copy})
  2119  	fake.setSpaceManifestMutex.Unlock()
  2120  	if fake.SetSpaceManifestStub != nil {
  2121  		return fake.SetSpaceManifestStub(arg1, arg2)
  2122  	}
  2123  	if specificReturn {
  2124  		return ret.result1, ret.result2
  2125  	}
  2126  	fakeReturns := fake.setSpaceManifestReturns
  2127  	return fakeReturns.result1, fakeReturns.result2
  2128  }
  2129  
  2130  func (fake *FakeV7Actor) SetSpaceManifestCallCount() int {
  2131  	fake.setSpaceManifestMutex.RLock()
  2132  	defer fake.setSpaceManifestMutex.RUnlock()
  2133  	return len(fake.setSpaceManifestArgsForCall)
  2134  }
  2135  
  2136  func (fake *FakeV7Actor) SetSpaceManifestCalls(stub func(string, []byte) (v7action.Warnings, error)) {
  2137  	fake.setSpaceManifestMutex.Lock()
  2138  	defer fake.setSpaceManifestMutex.Unlock()
  2139  	fake.SetSpaceManifestStub = stub
  2140  }
  2141  
  2142  func (fake *FakeV7Actor) SetSpaceManifestArgsForCall(i int) (string, []byte) {
  2143  	fake.setSpaceManifestMutex.RLock()
  2144  	defer fake.setSpaceManifestMutex.RUnlock()
  2145  	argsForCall := fake.setSpaceManifestArgsForCall[i]
  2146  	return argsForCall.arg1, argsForCall.arg2
  2147  }
  2148  
  2149  func (fake *FakeV7Actor) SetSpaceManifestReturns(result1 v7action.Warnings, result2 error) {
  2150  	fake.setSpaceManifestMutex.Lock()
  2151  	defer fake.setSpaceManifestMutex.Unlock()
  2152  	fake.SetSpaceManifestStub = nil
  2153  	fake.setSpaceManifestReturns = struct {
  2154  		result1 v7action.Warnings
  2155  		result2 error
  2156  	}{result1, result2}
  2157  }
  2158  
  2159  func (fake *FakeV7Actor) SetSpaceManifestReturnsOnCall(i int, result1 v7action.Warnings, result2 error) {
  2160  	fake.setSpaceManifestMutex.Lock()
  2161  	defer fake.setSpaceManifestMutex.Unlock()
  2162  	fake.SetSpaceManifestStub = nil
  2163  	if fake.setSpaceManifestReturnsOnCall == nil {
  2164  		fake.setSpaceManifestReturnsOnCall = make(map[int]struct {
  2165  			result1 v7action.Warnings
  2166  			result2 error
  2167  		})
  2168  	}
  2169  	fake.setSpaceManifestReturnsOnCall[i] = struct {
  2170  		result1 v7action.Warnings
  2171  		result2 error
  2172  	}{result1, result2}
  2173  }
  2174  
  2175  func (fake *FakeV7Actor) StageApplicationPackage(arg1 string) (v7action.Build, v7action.Warnings, error) {
  2176  	fake.stageApplicationPackageMutex.Lock()
  2177  	ret, specificReturn := fake.stageApplicationPackageReturnsOnCall[len(fake.stageApplicationPackageArgsForCall)]
  2178  	fake.stageApplicationPackageArgsForCall = append(fake.stageApplicationPackageArgsForCall, struct {
  2179  		arg1 string
  2180  	}{arg1})
  2181  	fake.recordInvocation("StageApplicationPackage", []interface{}{arg1})
  2182  	fake.stageApplicationPackageMutex.Unlock()
  2183  	if fake.StageApplicationPackageStub != nil {
  2184  		return fake.StageApplicationPackageStub(arg1)
  2185  	}
  2186  	if specificReturn {
  2187  		return ret.result1, ret.result2, ret.result3
  2188  	}
  2189  	fakeReturns := fake.stageApplicationPackageReturns
  2190  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
  2191  }
  2192  
  2193  func (fake *FakeV7Actor) StageApplicationPackageCallCount() int {
  2194  	fake.stageApplicationPackageMutex.RLock()
  2195  	defer fake.stageApplicationPackageMutex.RUnlock()
  2196  	return len(fake.stageApplicationPackageArgsForCall)
  2197  }
  2198  
  2199  func (fake *FakeV7Actor) StageApplicationPackageCalls(stub func(string) (v7action.Build, v7action.Warnings, error)) {
  2200  	fake.stageApplicationPackageMutex.Lock()
  2201  	defer fake.stageApplicationPackageMutex.Unlock()
  2202  	fake.StageApplicationPackageStub = stub
  2203  }
  2204  
  2205  func (fake *FakeV7Actor) StageApplicationPackageArgsForCall(i int) string {
  2206  	fake.stageApplicationPackageMutex.RLock()
  2207  	defer fake.stageApplicationPackageMutex.RUnlock()
  2208  	argsForCall := fake.stageApplicationPackageArgsForCall[i]
  2209  	return argsForCall.arg1
  2210  }
  2211  
  2212  func (fake *FakeV7Actor) StageApplicationPackageReturns(result1 v7action.Build, result2 v7action.Warnings, result3 error) {
  2213  	fake.stageApplicationPackageMutex.Lock()
  2214  	defer fake.stageApplicationPackageMutex.Unlock()
  2215  	fake.StageApplicationPackageStub = nil
  2216  	fake.stageApplicationPackageReturns = struct {
  2217  		result1 v7action.Build
  2218  		result2 v7action.Warnings
  2219  		result3 error
  2220  	}{result1, result2, result3}
  2221  }
  2222  
  2223  func (fake *FakeV7Actor) StageApplicationPackageReturnsOnCall(i int, result1 v7action.Build, result2 v7action.Warnings, result3 error) {
  2224  	fake.stageApplicationPackageMutex.Lock()
  2225  	defer fake.stageApplicationPackageMutex.Unlock()
  2226  	fake.StageApplicationPackageStub = nil
  2227  	if fake.stageApplicationPackageReturnsOnCall == nil {
  2228  		fake.stageApplicationPackageReturnsOnCall = make(map[int]struct {
  2229  			result1 v7action.Build
  2230  			result2 v7action.Warnings
  2231  			result3 error
  2232  		})
  2233  	}
  2234  	fake.stageApplicationPackageReturnsOnCall[i] = struct {
  2235  		result1 v7action.Build
  2236  		result2 v7action.Warnings
  2237  		result3 error
  2238  	}{result1, result2, result3}
  2239  }
  2240  
  2241  func (fake *FakeV7Actor) StopApplication(arg1 string) (v7action.Warnings, error) {
  2242  	fake.stopApplicationMutex.Lock()
  2243  	ret, specificReturn := fake.stopApplicationReturnsOnCall[len(fake.stopApplicationArgsForCall)]
  2244  	fake.stopApplicationArgsForCall = append(fake.stopApplicationArgsForCall, struct {
  2245  		arg1 string
  2246  	}{arg1})
  2247  	fake.recordInvocation("StopApplication", []interface{}{arg1})
  2248  	fake.stopApplicationMutex.Unlock()
  2249  	if fake.StopApplicationStub != nil {
  2250  		return fake.StopApplicationStub(arg1)
  2251  	}
  2252  	if specificReturn {
  2253  		return ret.result1, ret.result2
  2254  	}
  2255  	fakeReturns := fake.stopApplicationReturns
  2256  	return fakeReturns.result1, fakeReturns.result2
  2257  }
  2258  
  2259  func (fake *FakeV7Actor) StopApplicationCallCount() int {
  2260  	fake.stopApplicationMutex.RLock()
  2261  	defer fake.stopApplicationMutex.RUnlock()
  2262  	return len(fake.stopApplicationArgsForCall)
  2263  }
  2264  
  2265  func (fake *FakeV7Actor) StopApplicationCalls(stub func(string) (v7action.Warnings, error)) {
  2266  	fake.stopApplicationMutex.Lock()
  2267  	defer fake.stopApplicationMutex.Unlock()
  2268  	fake.StopApplicationStub = stub
  2269  }
  2270  
  2271  func (fake *FakeV7Actor) StopApplicationArgsForCall(i int) string {
  2272  	fake.stopApplicationMutex.RLock()
  2273  	defer fake.stopApplicationMutex.RUnlock()
  2274  	argsForCall := fake.stopApplicationArgsForCall[i]
  2275  	return argsForCall.arg1
  2276  }
  2277  
  2278  func (fake *FakeV7Actor) StopApplicationReturns(result1 v7action.Warnings, result2 error) {
  2279  	fake.stopApplicationMutex.Lock()
  2280  	defer fake.stopApplicationMutex.Unlock()
  2281  	fake.StopApplicationStub = nil
  2282  	fake.stopApplicationReturns = struct {
  2283  		result1 v7action.Warnings
  2284  		result2 error
  2285  	}{result1, result2}
  2286  }
  2287  
  2288  func (fake *FakeV7Actor) StopApplicationReturnsOnCall(i int, result1 v7action.Warnings, result2 error) {
  2289  	fake.stopApplicationMutex.Lock()
  2290  	defer fake.stopApplicationMutex.Unlock()
  2291  	fake.StopApplicationStub = nil
  2292  	if fake.stopApplicationReturnsOnCall == nil {
  2293  		fake.stopApplicationReturnsOnCall = make(map[int]struct {
  2294  			result1 v7action.Warnings
  2295  			result2 error
  2296  		})
  2297  	}
  2298  	fake.stopApplicationReturnsOnCall[i] = struct {
  2299  		result1 v7action.Warnings
  2300  		result2 error
  2301  	}{result1, result2}
  2302  }
  2303  
  2304  func (fake *FakeV7Actor) UnmapRoute(arg1 string, arg2 string) (v7action.Warnings, error) {
  2305  	fake.unmapRouteMutex.Lock()
  2306  	ret, specificReturn := fake.unmapRouteReturnsOnCall[len(fake.unmapRouteArgsForCall)]
  2307  	fake.unmapRouteArgsForCall = append(fake.unmapRouteArgsForCall, struct {
  2308  		arg1 string
  2309  		arg2 string
  2310  	}{arg1, arg2})
  2311  	fake.recordInvocation("UnmapRoute", []interface{}{arg1, arg2})
  2312  	fake.unmapRouteMutex.Unlock()
  2313  	if fake.UnmapRouteStub != nil {
  2314  		return fake.UnmapRouteStub(arg1, arg2)
  2315  	}
  2316  	if specificReturn {
  2317  		return ret.result1, ret.result2
  2318  	}
  2319  	fakeReturns := fake.unmapRouteReturns
  2320  	return fakeReturns.result1, fakeReturns.result2
  2321  }
  2322  
  2323  func (fake *FakeV7Actor) UnmapRouteCallCount() int {
  2324  	fake.unmapRouteMutex.RLock()
  2325  	defer fake.unmapRouteMutex.RUnlock()
  2326  	return len(fake.unmapRouteArgsForCall)
  2327  }
  2328  
  2329  func (fake *FakeV7Actor) UnmapRouteCalls(stub func(string, string) (v7action.Warnings, error)) {
  2330  	fake.unmapRouteMutex.Lock()
  2331  	defer fake.unmapRouteMutex.Unlock()
  2332  	fake.UnmapRouteStub = stub
  2333  }
  2334  
  2335  func (fake *FakeV7Actor) UnmapRouteArgsForCall(i int) (string, string) {
  2336  	fake.unmapRouteMutex.RLock()
  2337  	defer fake.unmapRouteMutex.RUnlock()
  2338  	argsForCall := fake.unmapRouteArgsForCall[i]
  2339  	return argsForCall.arg1, argsForCall.arg2
  2340  }
  2341  
  2342  func (fake *FakeV7Actor) UnmapRouteReturns(result1 v7action.Warnings, result2 error) {
  2343  	fake.unmapRouteMutex.Lock()
  2344  	defer fake.unmapRouteMutex.Unlock()
  2345  	fake.UnmapRouteStub = nil
  2346  	fake.unmapRouteReturns = struct {
  2347  		result1 v7action.Warnings
  2348  		result2 error
  2349  	}{result1, result2}
  2350  }
  2351  
  2352  func (fake *FakeV7Actor) UnmapRouteReturnsOnCall(i int, result1 v7action.Warnings, result2 error) {
  2353  	fake.unmapRouteMutex.Lock()
  2354  	defer fake.unmapRouteMutex.Unlock()
  2355  	fake.UnmapRouteStub = nil
  2356  	if fake.unmapRouteReturnsOnCall == nil {
  2357  		fake.unmapRouteReturnsOnCall = make(map[int]struct {
  2358  			result1 v7action.Warnings
  2359  			result2 error
  2360  		})
  2361  	}
  2362  	fake.unmapRouteReturnsOnCall[i] = struct {
  2363  		result1 v7action.Warnings
  2364  		result2 error
  2365  	}{result1, result2}
  2366  }
  2367  
  2368  func (fake *FakeV7Actor) UpdateApplication(arg1 v7action.Application) (v7action.Application, v7action.Warnings, error) {
  2369  	fake.updateApplicationMutex.Lock()
  2370  	ret, specificReturn := fake.updateApplicationReturnsOnCall[len(fake.updateApplicationArgsForCall)]
  2371  	fake.updateApplicationArgsForCall = append(fake.updateApplicationArgsForCall, struct {
  2372  		arg1 v7action.Application
  2373  	}{arg1})
  2374  	fake.recordInvocation("UpdateApplication", []interface{}{arg1})
  2375  	fake.updateApplicationMutex.Unlock()
  2376  	if fake.UpdateApplicationStub != nil {
  2377  		return fake.UpdateApplicationStub(arg1)
  2378  	}
  2379  	if specificReturn {
  2380  		return ret.result1, ret.result2, ret.result3
  2381  	}
  2382  	fakeReturns := fake.updateApplicationReturns
  2383  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
  2384  }
  2385  
  2386  func (fake *FakeV7Actor) UpdateApplicationCallCount() int {
  2387  	fake.updateApplicationMutex.RLock()
  2388  	defer fake.updateApplicationMutex.RUnlock()
  2389  	return len(fake.updateApplicationArgsForCall)
  2390  }
  2391  
  2392  func (fake *FakeV7Actor) UpdateApplicationCalls(stub func(v7action.Application) (v7action.Application, v7action.Warnings, error)) {
  2393  	fake.updateApplicationMutex.Lock()
  2394  	defer fake.updateApplicationMutex.Unlock()
  2395  	fake.UpdateApplicationStub = stub
  2396  }
  2397  
  2398  func (fake *FakeV7Actor) UpdateApplicationArgsForCall(i int) v7action.Application {
  2399  	fake.updateApplicationMutex.RLock()
  2400  	defer fake.updateApplicationMutex.RUnlock()
  2401  	argsForCall := fake.updateApplicationArgsForCall[i]
  2402  	return argsForCall.arg1
  2403  }
  2404  
  2405  func (fake *FakeV7Actor) UpdateApplicationReturns(result1 v7action.Application, result2 v7action.Warnings, result3 error) {
  2406  	fake.updateApplicationMutex.Lock()
  2407  	defer fake.updateApplicationMutex.Unlock()
  2408  	fake.UpdateApplicationStub = nil
  2409  	fake.updateApplicationReturns = struct {
  2410  		result1 v7action.Application
  2411  		result2 v7action.Warnings
  2412  		result3 error
  2413  	}{result1, result2, result3}
  2414  }
  2415  
  2416  func (fake *FakeV7Actor) UpdateApplicationReturnsOnCall(i int, result1 v7action.Application, result2 v7action.Warnings, result3 error) {
  2417  	fake.updateApplicationMutex.Lock()
  2418  	defer fake.updateApplicationMutex.Unlock()
  2419  	fake.UpdateApplicationStub = nil
  2420  	if fake.updateApplicationReturnsOnCall == nil {
  2421  		fake.updateApplicationReturnsOnCall = make(map[int]struct {
  2422  			result1 v7action.Application
  2423  			result2 v7action.Warnings
  2424  			result3 error
  2425  		})
  2426  	}
  2427  	fake.updateApplicationReturnsOnCall[i] = struct {
  2428  		result1 v7action.Application
  2429  		result2 v7action.Warnings
  2430  		result3 error
  2431  	}{result1, result2, result3}
  2432  }
  2433  
  2434  func (fake *FakeV7Actor) UpdateProcessByTypeAndApplication(arg1 string, arg2 string, arg3 v7action.Process) (v7action.Warnings, error) {
  2435  	fake.updateProcessByTypeAndApplicationMutex.Lock()
  2436  	ret, specificReturn := fake.updateProcessByTypeAndApplicationReturnsOnCall[len(fake.updateProcessByTypeAndApplicationArgsForCall)]
  2437  	fake.updateProcessByTypeAndApplicationArgsForCall = append(fake.updateProcessByTypeAndApplicationArgsForCall, struct {
  2438  		arg1 string
  2439  		arg2 string
  2440  		arg3 v7action.Process
  2441  	}{arg1, arg2, arg3})
  2442  	fake.recordInvocation("UpdateProcessByTypeAndApplication", []interface{}{arg1, arg2, arg3})
  2443  	fake.updateProcessByTypeAndApplicationMutex.Unlock()
  2444  	if fake.UpdateProcessByTypeAndApplicationStub != nil {
  2445  		return fake.UpdateProcessByTypeAndApplicationStub(arg1, arg2, arg3)
  2446  	}
  2447  	if specificReturn {
  2448  		return ret.result1, ret.result2
  2449  	}
  2450  	fakeReturns := fake.updateProcessByTypeAndApplicationReturns
  2451  	return fakeReturns.result1, fakeReturns.result2
  2452  }
  2453  
  2454  func (fake *FakeV7Actor) UpdateProcessByTypeAndApplicationCallCount() int {
  2455  	fake.updateProcessByTypeAndApplicationMutex.RLock()
  2456  	defer fake.updateProcessByTypeAndApplicationMutex.RUnlock()
  2457  	return len(fake.updateProcessByTypeAndApplicationArgsForCall)
  2458  }
  2459  
  2460  func (fake *FakeV7Actor) UpdateProcessByTypeAndApplicationCalls(stub func(string, string, v7action.Process) (v7action.Warnings, error)) {
  2461  	fake.updateProcessByTypeAndApplicationMutex.Lock()
  2462  	defer fake.updateProcessByTypeAndApplicationMutex.Unlock()
  2463  	fake.UpdateProcessByTypeAndApplicationStub = stub
  2464  }
  2465  
  2466  func (fake *FakeV7Actor) UpdateProcessByTypeAndApplicationArgsForCall(i int) (string, string, v7action.Process) {
  2467  	fake.updateProcessByTypeAndApplicationMutex.RLock()
  2468  	defer fake.updateProcessByTypeAndApplicationMutex.RUnlock()
  2469  	argsForCall := fake.updateProcessByTypeAndApplicationArgsForCall[i]
  2470  	return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3
  2471  }
  2472  
  2473  func (fake *FakeV7Actor) UpdateProcessByTypeAndApplicationReturns(result1 v7action.Warnings, result2 error) {
  2474  	fake.updateProcessByTypeAndApplicationMutex.Lock()
  2475  	defer fake.updateProcessByTypeAndApplicationMutex.Unlock()
  2476  	fake.UpdateProcessByTypeAndApplicationStub = nil
  2477  	fake.updateProcessByTypeAndApplicationReturns = struct {
  2478  		result1 v7action.Warnings
  2479  		result2 error
  2480  	}{result1, result2}
  2481  }
  2482  
  2483  func (fake *FakeV7Actor) UpdateProcessByTypeAndApplicationReturnsOnCall(i int, result1 v7action.Warnings, result2 error) {
  2484  	fake.updateProcessByTypeAndApplicationMutex.Lock()
  2485  	defer fake.updateProcessByTypeAndApplicationMutex.Unlock()
  2486  	fake.UpdateProcessByTypeAndApplicationStub = nil
  2487  	if fake.updateProcessByTypeAndApplicationReturnsOnCall == nil {
  2488  		fake.updateProcessByTypeAndApplicationReturnsOnCall = make(map[int]struct {
  2489  			result1 v7action.Warnings
  2490  			result2 error
  2491  		})
  2492  	}
  2493  	fake.updateProcessByTypeAndApplicationReturnsOnCall[i] = struct {
  2494  		result1 v7action.Warnings
  2495  		result2 error
  2496  	}{result1, result2}
  2497  }
  2498  
  2499  func (fake *FakeV7Actor) UploadBitsPackage(arg1 v7action.Package, arg2 []sharedaction.V3Resource, arg3 io.Reader, arg4 int64) (v7action.Package, v7action.Warnings, error) {
  2500  	var arg2Copy []sharedaction.V3Resource
  2501  	if arg2 != nil {
  2502  		arg2Copy = make([]sharedaction.V3Resource, len(arg2))
  2503  		copy(arg2Copy, arg2)
  2504  	}
  2505  	fake.uploadBitsPackageMutex.Lock()
  2506  	ret, specificReturn := fake.uploadBitsPackageReturnsOnCall[len(fake.uploadBitsPackageArgsForCall)]
  2507  	fake.uploadBitsPackageArgsForCall = append(fake.uploadBitsPackageArgsForCall, struct {
  2508  		arg1 v7action.Package
  2509  		arg2 []sharedaction.V3Resource
  2510  		arg3 io.Reader
  2511  		arg4 int64
  2512  	}{arg1, arg2Copy, arg3, arg4})
  2513  	fake.recordInvocation("UploadBitsPackage", []interface{}{arg1, arg2Copy, arg3, arg4})
  2514  	fake.uploadBitsPackageMutex.Unlock()
  2515  	if fake.UploadBitsPackageStub != nil {
  2516  		return fake.UploadBitsPackageStub(arg1, arg2, arg3, arg4)
  2517  	}
  2518  	if specificReturn {
  2519  		return ret.result1, ret.result2, ret.result3
  2520  	}
  2521  	fakeReturns := fake.uploadBitsPackageReturns
  2522  	return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3
  2523  }
  2524  
  2525  func (fake *FakeV7Actor) UploadBitsPackageCallCount() int {
  2526  	fake.uploadBitsPackageMutex.RLock()
  2527  	defer fake.uploadBitsPackageMutex.RUnlock()
  2528  	return len(fake.uploadBitsPackageArgsForCall)
  2529  }
  2530  
  2531  func (fake *FakeV7Actor) UploadBitsPackageCalls(stub func(v7action.Package, []sharedaction.V3Resource, io.Reader, int64) (v7action.Package, v7action.Warnings, error)) {
  2532  	fake.uploadBitsPackageMutex.Lock()
  2533  	defer fake.uploadBitsPackageMutex.Unlock()
  2534  	fake.UploadBitsPackageStub = stub
  2535  }
  2536  
  2537  func (fake *FakeV7Actor) UploadBitsPackageArgsForCall(i int) (v7action.Package, []sharedaction.V3Resource, io.Reader, int64) {
  2538  	fake.uploadBitsPackageMutex.RLock()
  2539  	defer fake.uploadBitsPackageMutex.RUnlock()
  2540  	argsForCall := fake.uploadBitsPackageArgsForCall[i]
  2541  	return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4
  2542  }
  2543  
  2544  func (fake *FakeV7Actor) UploadBitsPackageReturns(result1 v7action.Package, result2 v7action.Warnings, result3 error) {
  2545  	fake.uploadBitsPackageMutex.Lock()
  2546  	defer fake.uploadBitsPackageMutex.Unlock()
  2547  	fake.UploadBitsPackageStub = nil
  2548  	fake.uploadBitsPackageReturns = struct {
  2549  		result1 v7action.Package
  2550  		result2 v7action.Warnings
  2551  		result3 error
  2552  	}{result1, result2, result3}
  2553  }
  2554  
  2555  func (fake *FakeV7Actor) UploadBitsPackageReturnsOnCall(i int, result1 v7action.Package, result2 v7action.Warnings, result3 error) {
  2556  	fake.uploadBitsPackageMutex.Lock()
  2557  	defer fake.uploadBitsPackageMutex.Unlock()
  2558  	fake.UploadBitsPackageStub = nil
  2559  	if fake.uploadBitsPackageReturnsOnCall == nil {
  2560  		fake.uploadBitsPackageReturnsOnCall = make(map[int]struct {
  2561  			result1 v7action.Package
  2562  			result2 v7action.Warnings
  2563  			result3 error
  2564  		})
  2565  	}
  2566  	fake.uploadBitsPackageReturnsOnCall[i] = struct {
  2567  		result1 v7action.Package
  2568  		result2 v7action.Warnings
  2569  		result3 error
  2570  	}{result1, result2, result3}
  2571  }
  2572  
  2573  func (fake *FakeV7Actor) UploadDroplet(arg1 string, arg2 string, arg3 io.Reader, arg4 int64) (v7action.Warnings, error) {
  2574  	fake.uploadDropletMutex.Lock()
  2575  	ret, specificReturn := fake.uploadDropletReturnsOnCall[len(fake.uploadDropletArgsForCall)]
  2576  	fake.uploadDropletArgsForCall = append(fake.uploadDropletArgsForCall, struct {
  2577  		arg1 string
  2578  		arg2 string
  2579  		arg3 io.Reader
  2580  		arg4 int64
  2581  	}{arg1, arg2, arg3, arg4})
  2582  	fake.recordInvocation("UploadDroplet", []interface{}{arg1, arg2, arg3, arg4})
  2583  	fake.uploadDropletMutex.Unlock()
  2584  	if fake.UploadDropletStub != nil {
  2585  		return fake.UploadDropletStub(arg1, arg2, arg3, arg4)
  2586  	}
  2587  	if specificReturn {
  2588  		return ret.result1, ret.result2
  2589  	}
  2590  	fakeReturns := fake.uploadDropletReturns
  2591  	return fakeReturns.result1, fakeReturns.result2
  2592  }
  2593  
  2594  func (fake *FakeV7Actor) UploadDropletCallCount() int {
  2595  	fake.uploadDropletMutex.RLock()
  2596  	defer fake.uploadDropletMutex.RUnlock()
  2597  	return len(fake.uploadDropletArgsForCall)
  2598  }
  2599  
  2600  func (fake *FakeV7Actor) UploadDropletCalls(stub func(string, string, io.Reader, int64) (v7action.Warnings, error)) {
  2601  	fake.uploadDropletMutex.Lock()
  2602  	defer fake.uploadDropletMutex.Unlock()
  2603  	fake.UploadDropletStub = stub
  2604  }
  2605  
  2606  func (fake *FakeV7Actor) UploadDropletArgsForCall(i int) (string, string, io.Reader, int64) {
  2607  	fake.uploadDropletMutex.RLock()
  2608  	defer fake.uploadDropletMutex.RUnlock()
  2609  	argsForCall := fake.uploadDropletArgsForCall[i]
  2610  	return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4
  2611  }
  2612  
  2613  func (fake *FakeV7Actor) UploadDropletReturns(result1 v7action.Warnings, result2 error) {
  2614  	fake.uploadDropletMutex.Lock()
  2615  	defer fake.uploadDropletMutex.Unlock()
  2616  	fake.UploadDropletStub = nil
  2617  	fake.uploadDropletReturns = struct {
  2618  		result1 v7action.Warnings
  2619  		result2 error
  2620  	}{result1, result2}
  2621  }
  2622  
  2623  func (fake *FakeV7Actor) UploadDropletReturnsOnCall(i int, result1 v7action.Warnings, result2 error) {
  2624  	fake.uploadDropletMutex.Lock()
  2625  	defer fake.uploadDropletMutex.Unlock()
  2626  	fake.UploadDropletStub = nil
  2627  	if fake.uploadDropletReturnsOnCall == nil {
  2628  		fake.uploadDropletReturnsOnCall = make(map[int]struct {
  2629  			result1 v7action.Warnings
  2630  			result2 error
  2631  		})
  2632  	}
  2633  	fake.uploadDropletReturnsOnCall[i] = struct {
  2634  		result1 v7action.Warnings
  2635  		result2 error
  2636  	}{result1, result2}
  2637  }
  2638  
  2639  func (fake *FakeV7Actor) Invocations() map[string][][]interface{} {
  2640  	fake.invocationsMutex.RLock()
  2641  	defer fake.invocationsMutex.RUnlock()
  2642  	fake.createApplicationDropletMutex.RLock()
  2643  	defer fake.createApplicationDropletMutex.RUnlock()
  2644  	fake.createApplicationInSpaceMutex.RLock()
  2645  	defer fake.createApplicationInSpaceMutex.RUnlock()
  2646  	fake.createBitsPackageByApplicationMutex.RLock()
  2647  	defer fake.createBitsPackageByApplicationMutex.RUnlock()
  2648  	fake.createDeploymentMutex.RLock()
  2649  	defer fake.createDeploymentMutex.RUnlock()
  2650  	fake.createDockerPackageByApplicationMutex.RLock()
  2651  	defer fake.createDockerPackageByApplicationMutex.RUnlock()
  2652  	fake.createRouteMutex.RLock()
  2653  	defer fake.createRouteMutex.RUnlock()
  2654  	fake.getApplicationByNameAndSpaceMutex.RLock()
  2655  	defer fake.getApplicationByNameAndSpaceMutex.RUnlock()
  2656  	fake.getApplicationDropletsMutex.RLock()
  2657  	defer fake.getApplicationDropletsMutex.RUnlock()
  2658  	fake.getApplicationRoutesMutex.RLock()
  2659  	defer fake.getApplicationRoutesMutex.RUnlock()
  2660  	fake.getApplicationsByNamesAndSpaceMutex.RLock()
  2661  	defer fake.getApplicationsByNamesAndSpaceMutex.RUnlock()
  2662  	fake.getDefaultDomainMutex.RLock()
  2663  	defer fake.getDefaultDomainMutex.RUnlock()
  2664  	fake.getDomainMutex.RLock()
  2665  	defer fake.getDomainMutex.RUnlock()
  2666  	fake.getRouteByAttributesMutex.RLock()
  2667  	defer fake.getRouteByAttributesMutex.RUnlock()
  2668  	fake.getRouteDestinationByAppGUIDMutex.RLock()
  2669  	defer fake.getRouteDestinationByAppGUIDMutex.RUnlock()
  2670  	fake.mapRouteMutex.RLock()
  2671  	defer fake.mapRouteMutex.RUnlock()
  2672  	fake.pollBuildMutex.RLock()
  2673  	defer fake.pollBuildMutex.RUnlock()
  2674  	fake.pollPackageMutex.RLock()
  2675  	defer fake.pollPackageMutex.RUnlock()
  2676  	fake.pollStartMutex.RLock()
  2677  	defer fake.pollStartMutex.RUnlock()
  2678  	fake.pollStartForRollingMutex.RLock()
  2679  	defer fake.pollStartForRollingMutex.RUnlock()
  2680  	fake.resourceMatchMutex.RLock()
  2681  	defer fake.resourceMatchMutex.RUnlock()
  2682  	fake.restartApplicationMutex.RLock()
  2683  	defer fake.restartApplicationMutex.RUnlock()
  2684  	fake.scaleProcessByApplicationMutex.RLock()
  2685  	defer fake.scaleProcessByApplicationMutex.RUnlock()
  2686  	fake.setApplicationDropletMutex.RLock()
  2687  	defer fake.setApplicationDropletMutex.RUnlock()
  2688  	fake.setApplicationManifestMutex.RLock()
  2689  	defer fake.setApplicationManifestMutex.RUnlock()
  2690  	fake.setSpaceManifestMutex.RLock()
  2691  	defer fake.setSpaceManifestMutex.RUnlock()
  2692  	fake.stageApplicationPackageMutex.RLock()
  2693  	defer fake.stageApplicationPackageMutex.RUnlock()
  2694  	fake.stopApplicationMutex.RLock()
  2695  	defer fake.stopApplicationMutex.RUnlock()
  2696  	fake.unmapRouteMutex.RLock()
  2697  	defer fake.unmapRouteMutex.RUnlock()
  2698  	fake.updateApplicationMutex.RLock()
  2699  	defer fake.updateApplicationMutex.RUnlock()
  2700  	fake.updateProcessByTypeAndApplicationMutex.RLock()
  2701  	defer fake.updateProcessByTypeAndApplicationMutex.RUnlock()
  2702  	fake.uploadBitsPackageMutex.RLock()
  2703  	defer fake.uploadBitsPackageMutex.RUnlock()
  2704  	fake.uploadDropletMutex.RLock()
  2705  	defer fake.uploadDropletMutex.RUnlock()
  2706  	copiedInvocations := map[string][][]interface{}{}
  2707  	for key, value := range fake.invocations {
  2708  		copiedInvocations[key] = value
  2709  	}
  2710  	return copiedInvocations
  2711  }
  2712  
  2713  func (fake *FakeV7Actor) recordInvocation(key string, args []interface{}) {
  2714  	fake.invocationsMutex.Lock()
  2715  	defer fake.invocationsMutex.Unlock()
  2716  	if fake.invocations == nil {
  2717  		fake.invocations = map[string][][]interface{}{}
  2718  	}
  2719  	if fake.invocations[key] == nil {
  2720  		fake.invocations[key] = [][]interface{}{}
  2721  	}
  2722  	fake.invocations[key] = append(fake.invocations[key], args)
  2723  }
  2724  
  2725  var _ v7pushaction.V7Actor = new(FakeV7Actor)