github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/cf/manifest/manifestfakes/fake_app.go (about)

     1  // Code generated by counterfeiter. DO NOT EDIT.
     2  package manifestfakes
     3  
     4  import (
     5  	"io"
     6  	"sync"
     7  
     8  	"code.cloudfoundry.org/cli/cf/manifest"
     9  	"code.cloudfoundry.org/cli/cf/models"
    10  )
    11  
    12  type FakeApp struct {
    13  	BuildpackURLStub        func(string, string)
    14  	buildpackURLMutex       sync.RWMutex
    15  	buildpackURLArgsForCall []struct {
    16  		arg1 string
    17  		arg2 string
    18  	}
    19  	DiskQuotaStub        func(string, int64)
    20  	diskQuotaMutex       sync.RWMutex
    21  	diskQuotaArgsForCall []struct {
    22  		arg1 string
    23  		arg2 int64
    24  	}
    25  	EnvironmentVarsStub        func(string, string, string)
    26  	environmentVarsMutex       sync.RWMutex
    27  	environmentVarsArgsForCall []struct {
    28  		arg1 string
    29  		arg2 string
    30  		arg3 string
    31  	}
    32  	GetContentsStub        func() []models.Application
    33  	getContentsMutex       sync.RWMutex
    34  	getContentsArgsForCall []struct {
    35  	}
    36  	getContentsReturns struct {
    37  		result1 []models.Application
    38  	}
    39  	getContentsReturnsOnCall map[int]struct {
    40  		result1 []models.Application
    41  	}
    42  	HealthCheckHTTPEndpointStub        func(string, string)
    43  	healthCheckHTTPEndpointMutex       sync.RWMutex
    44  	healthCheckHTTPEndpointArgsForCall []struct {
    45  		arg1 string
    46  		arg2 string
    47  	}
    48  	HealthCheckTimeoutStub        func(string, int)
    49  	healthCheckTimeoutMutex       sync.RWMutex
    50  	healthCheckTimeoutArgsForCall []struct {
    51  		arg1 string
    52  		arg2 int
    53  	}
    54  	HealthCheckTypeStub        func(string, string)
    55  	healthCheckTypeMutex       sync.RWMutex
    56  	healthCheckTypeArgsForCall []struct {
    57  		arg1 string
    58  		arg2 string
    59  	}
    60  	InstancesStub        func(string, int)
    61  	instancesMutex       sync.RWMutex
    62  	instancesArgsForCall []struct {
    63  		arg1 string
    64  		arg2 int
    65  	}
    66  	MemoryStub        func(string, int64)
    67  	memoryMutex       sync.RWMutex
    68  	memoryArgsForCall []struct {
    69  		arg1 string
    70  		arg2 int64
    71  	}
    72  	RouteStub        func(string, string, string, string, int)
    73  	routeMutex       sync.RWMutex
    74  	routeArgsForCall []struct {
    75  		arg1 string
    76  		arg2 string
    77  		arg3 string
    78  		arg4 string
    79  		arg5 int
    80  	}
    81  	SaveStub        func(io.Writer) error
    82  	saveMutex       sync.RWMutex
    83  	saveArgsForCall []struct {
    84  		arg1 io.Writer
    85  	}
    86  	saveReturns struct {
    87  		result1 error
    88  	}
    89  	saveReturnsOnCall map[int]struct {
    90  		result1 error
    91  	}
    92  	ServiceStub        func(string, string)
    93  	serviceMutex       sync.RWMutex
    94  	serviceArgsForCall []struct {
    95  		arg1 string
    96  		arg2 string
    97  	}
    98  	StackStub        func(string, string)
    99  	stackMutex       sync.RWMutex
   100  	stackArgsForCall []struct {
   101  		arg1 string
   102  		arg2 string
   103  	}
   104  	StartCommandStub        func(string, string)
   105  	startCommandMutex       sync.RWMutex
   106  	startCommandArgsForCall []struct {
   107  		arg1 string
   108  		arg2 string
   109  	}
   110  	invocations      map[string][][]interface{}
   111  	invocationsMutex sync.RWMutex
   112  }
   113  
   114  func (fake *FakeApp) BuildpackURL(arg1 string, arg2 string) {
   115  	fake.buildpackURLMutex.Lock()
   116  	fake.buildpackURLArgsForCall = append(fake.buildpackURLArgsForCall, struct {
   117  		arg1 string
   118  		arg2 string
   119  	}{arg1, arg2})
   120  	fake.recordInvocation("BuildpackURL", []interface{}{arg1, arg2})
   121  	fake.buildpackURLMutex.Unlock()
   122  	if fake.BuildpackURLStub != nil {
   123  		fake.BuildpackURLStub(arg1, arg2)
   124  	}
   125  }
   126  
   127  func (fake *FakeApp) BuildpackURLCallCount() int {
   128  	fake.buildpackURLMutex.RLock()
   129  	defer fake.buildpackURLMutex.RUnlock()
   130  	return len(fake.buildpackURLArgsForCall)
   131  }
   132  
   133  func (fake *FakeApp) BuildpackURLCalls(stub func(string, string)) {
   134  	fake.buildpackURLMutex.Lock()
   135  	defer fake.buildpackURLMutex.Unlock()
   136  	fake.BuildpackURLStub = stub
   137  }
   138  
   139  func (fake *FakeApp) BuildpackURLArgsForCall(i int) (string, string) {
   140  	fake.buildpackURLMutex.RLock()
   141  	defer fake.buildpackURLMutex.RUnlock()
   142  	argsForCall := fake.buildpackURLArgsForCall[i]
   143  	return argsForCall.arg1, argsForCall.arg2
   144  }
   145  
   146  func (fake *FakeApp) DiskQuota(arg1 string, arg2 int64) {
   147  	fake.diskQuotaMutex.Lock()
   148  	fake.diskQuotaArgsForCall = append(fake.diskQuotaArgsForCall, struct {
   149  		arg1 string
   150  		arg2 int64
   151  	}{arg1, arg2})
   152  	fake.recordInvocation("DiskQuota", []interface{}{arg1, arg2})
   153  	fake.diskQuotaMutex.Unlock()
   154  	if fake.DiskQuotaStub != nil {
   155  		fake.DiskQuotaStub(arg1, arg2)
   156  	}
   157  }
   158  
   159  func (fake *FakeApp) DiskQuotaCallCount() int {
   160  	fake.diskQuotaMutex.RLock()
   161  	defer fake.diskQuotaMutex.RUnlock()
   162  	return len(fake.diskQuotaArgsForCall)
   163  }
   164  
   165  func (fake *FakeApp) DiskQuotaCalls(stub func(string, int64)) {
   166  	fake.diskQuotaMutex.Lock()
   167  	defer fake.diskQuotaMutex.Unlock()
   168  	fake.DiskQuotaStub = stub
   169  }
   170  
   171  func (fake *FakeApp) DiskQuotaArgsForCall(i int) (string, int64) {
   172  	fake.diskQuotaMutex.RLock()
   173  	defer fake.diskQuotaMutex.RUnlock()
   174  	argsForCall := fake.diskQuotaArgsForCall[i]
   175  	return argsForCall.arg1, argsForCall.arg2
   176  }
   177  
   178  func (fake *FakeApp) EnvironmentVars(arg1 string, arg2 string, arg3 string) {
   179  	fake.environmentVarsMutex.Lock()
   180  	fake.environmentVarsArgsForCall = append(fake.environmentVarsArgsForCall, struct {
   181  		arg1 string
   182  		arg2 string
   183  		arg3 string
   184  	}{arg1, arg2, arg3})
   185  	fake.recordInvocation("EnvironmentVars", []interface{}{arg1, arg2, arg3})
   186  	fake.environmentVarsMutex.Unlock()
   187  	if fake.EnvironmentVarsStub != nil {
   188  		fake.EnvironmentVarsStub(arg1, arg2, arg3)
   189  	}
   190  }
   191  
   192  func (fake *FakeApp) EnvironmentVarsCallCount() int {
   193  	fake.environmentVarsMutex.RLock()
   194  	defer fake.environmentVarsMutex.RUnlock()
   195  	return len(fake.environmentVarsArgsForCall)
   196  }
   197  
   198  func (fake *FakeApp) EnvironmentVarsCalls(stub func(string, string, string)) {
   199  	fake.environmentVarsMutex.Lock()
   200  	defer fake.environmentVarsMutex.Unlock()
   201  	fake.EnvironmentVarsStub = stub
   202  }
   203  
   204  func (fake *FakeApp) EnvironmentVarsArgsForCall(i int) (string, string, string) {
   205  	fake.environmentVarsMutex.RLock()
   206  	defer fake.environmentVarsMutex.RUnlock()
   207  	argsForCall := fake.environmentVarsArgsForCall[i]
   208  	return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3
   209  }
   210  
   211  func (fake *FakeApp) GetContents() []models.Application {
   212  	fake.getContentsMutex.Lock()
   213  	ret, specificReturn := fake.getContentsReturnsOnCall[len(fake.getContentsArgsForCall)]
   214  	fake.getContentsArgsForCall = append(fake.getContentsArgsForCall, struct {
   215  	}{})
   216  	fake.recordInvocation("GetContents", []interface{}{})
   217  	fake.getContentsMutex.Unlock()
   218  	if fake.GetContentsStub != nil {
   219  		return fake.GetContentsStub()
   220  	}
   221  	if specificReturn {
   222  		return ret.result1
   223  	}
   224  	fakeReturns := fake.getContentsReturns
   225  	return fakeReturns.result1
   226  }
   227  
   228  func (fake *FakeApp) GetContentsCallCount() int {
   229  	fake.getContentsMutex.RLock()
   230  	defer fake.getContentsMutex.RUnlock()
   231  	return len(fake.getContentsArgsForCall)
   232  }
   233  
   234  func (fake *FakeApp) GetContentsCalls(stub func() []models.Application) {
   235  	fake.getContentsMutex.Lock()
   236  	defer fake.getContentsMutex.Unlock()
   237  	fake.GetContentsStub = stub
   238  }
   239  
   240  func (fake *FakeApp) GetContentsReturns(result1 []models.Application) {
   241  	fake.getContentsMutex.Lock()
   242  	defer fake.getContentsMutex.Unlock()
   243  	fake.GetContentsStub = nil
   244  	fake.getContentsReturns = struct {
   245  		result1 []models.Application
   246  	}{result1}
   247  }
   248  
   249  func (fake *FakeApp) GetContentsReturnsOnCall(i int, result1 []models.Application) {
   250  	fake.getContentsMutex.Lock()
   251  	defer fake.getContentsMutex.Unlock()
   252  	fake.GetContentsStub = nil
   253  	if fake.getContentsReturnsOnCall == nil {
   254  		fake.getContentsReturnsOnCall = make(map[int]struct {
   255  			result1 []models.Application
   256  		})
   257  	}
   258  	fake.getContentsReturnsOnCall[i] = struct {
   259  		result1 []models.Application
   260  	}{result1}
   261  }
   262  
   263  func (fake *FakeApp) HealthCheckHTTPEndpoint(arg1 string, arg2 string) {
   264  	fake.healthCheckHTTPEndpointMutex.Lock()
   265  	fake.healthCheckHTTPEndpointArgsForCall = append(fake.healthCheckHTTPEndpointArgsForCall, struct {
   266  		arg1 string
   267  		arg2 string
   268  	}{arg1, arg2})
   269  	fake.recordInvocation("HealthCheckHTTPEndpoint", []interface{}{arg1, arg2})
   270  	fake.healthCheckHTTPEndpointMutex.Unlock()
   271  	if fake.HealthCheckHTTPEndpointStub != nil {
   272  		fake.HealthCheckHTTPEndpointStub(arg1, arg2)
   273  	}
   274  }
   275  
   276  func (fake *FakeApp) HealthCheckHTTPEndpointCallCount() int {
   277  	fake.healthCheckHTTPEndpointMutex.RLock()
   278  	defer fake.healthCheckHTTPEndpointMutex.RUnlock()
   279  	return len(fake.healthCheckHTTPEndpointArgsForCall)
   280  }
   281  
   282  func (fake *FakeApp) HealthCheckHTTPEndpointCalls(stub func(string, string)) {
   283  	fake.healthCheckHTTPEndpointMutex.Lock()
   284  	defer fake.healthCheckHTTPEndpointMutex.Unlock()
   285  	fake.HealthCheckHTTPEndpointStub = stub
   286  }
   287  
   288  func (fake *FakeApp) HealthCheckHTTPEndpointArgsForCall(i int) (string, string) {
   289  	fake.healthCheckHTTPEndpointMutex.RLock()
   290  	defer fake.healthCheckHTTPEndpointMutex.RUnlock()
   291  	argsForCall := fake.healthCheckHTTPEndpointArgsForCall[i]
   292  	return argsForCall.arg1, argsForCall.arg2
   293  }
   294  
   295  func (fake *FakeApp) HealthCheckTimeout(arg1 string, arg2 int) {
   296  	fake.healthCheckTimeoutMutex.Lock()
   297  	fake.healthCheckTimeoutArgsForCall = append(fake.healthCheckTimeoutArgsForCall, struct {
   298  		arg1 string
   299  		arg2 int
   300  	}{arg1, arg2})
   301  	fake.recordInvocation("HealthCheckTimeout", []interface{}{arg1, arg2})
   302  	fake.healthCheckTimeoutMutex.Unlock()
   303  	if fake.HealthCheckTimeoutStub != nil {
   304  		fake.HealthCheckTimeoutStub(arg1, arg2)
   305  	}
   306  }
   307  
   308  func (fake *FakeApp) HealthCheckTimeoutCallCount() int {
   309  	fake.healthCheckTimeoutMutex.RLock()
   310  	defer fake.healthCheckTimeoutMutex.RUnlock()
   311  	return len(fake.healthCheckTimeoutArgsForCall)
   312  }
   313  
   314  func (fake *FakeApp) HealthCheckTimeoutCalls(stub func(string, int)) {
   315  	fake.healthCheckTimeoutMutex.Lock()
   316  	defer fake.healthCheckTimeoutMutex.Unlock()
   317  	fake.HealthCheckTimeoutStub = stub
   318  }
   319  
   320  func (fake *FakeApp) HealthCheckTimeoutArgsForCall(i int) (string, int) {
   321  	fake.healthCheckTimeoutMutex.RLock()
   322  	defer fake.healthCheckTimeoutMutex.RUnlock()
   323  	argsForCall := fake.healthCheckTimeoutArgsForCall[i]
   324  	return argsForCall.arg1, argsForCall.arg2
   325  }
   326  
   327  func (fake *FakeApp) HealthCheckType(arg1 string, arg2 string) {
   328  	fake.healthCheckTypeMutex.Lock()
   329  	fake.healthCheckTypeArgsForCall = append(fake.healthCheckTypeArgsForCall, struct {
   330  		arg1 string
   331  		arg2 string
   332  	}{arg1, arg2})
   333  	fake.recordInvocation("HealthCheckType", []interface{}{arg1, arg2})
   334  	fake.healthCheckTypeMutex.Unlock()
   335  	if fake.HealthCheckTypeStub != nil {
   336  		fake.HealthCheckTypeStub(arg1, arg2)
   337  	}
   338  }
   339  
   340  func (fake *FakeApp) HealthCheckTypeCallCount() int {
   341  	fake.healthCheckTypeMutex.RLock()
   342  	defer fake.healthCheckTypeMutex.RUnlock()
   343  	return len(fake.healthCheckTypeArgsForCall)
   344  }
   345  
   346  func (fake *FakeApp) HealthCheckTypeCalls(stub func(string, string)) {
   347  	fake.healthCheckTypeMutex.Lock()
   348  	defer fake.healthCheckTypeMutex.Unlock()
   349  	fake.HealthCheckTypeStub = stub
   350  }
   351  
   352  func (fake *FakeApp) HealthCheckTypeArgsForCall(i int) (string, string) {
   353  	fake.healthCheckTypeMutex.RLock()
   354  	defer fake.healthCheckTypeMutex.RUnlock()
   355  	argsForCall := fake.healthCheckTypeArgsForCall[i]
   356  	return argsForCall.arg1, argsForCall.arg2
   357  }
   358  
   359  func (fake *FakeApp) Instances(arg1 string, arg2 int) {
   360  	fake.instancesMutex.Lock()
   361  	fake.instancesArgsForCall = append(fake.instancesArgsForCall, struct {
   362  		arg1 string
   363  		arg2 int
   364  	}{arg1, arg2})
   365  	fake.recordInvocation("Instances", []interface{}{arg1, arg2})
   366  	fake.instancesMutex.Unlock()
   367  	if fake.InstancesStub != nil {
   368  		fake.InstancesStub(arg1, arg2)
   369  	}
   370  }
   371  
   372  func (fake *FakeApp) InstancesCallCount() int {
   373  	fake.instancesMutex.RLock()
   374  	defer fake.instancesMutex.RUnlock()
   375  	return len(fake.instancesArgsForCall)
   376  }
   377  
   378  func (fake *FakeApp) InstancesCalls(stub func(string, int)) {
   379  	fake.instancesMutex.Lock()
   380  	defer fake.instancesMutex.Unlock()
   381  	fake.InstancesStub = stub
   382  }
   383  
   384  func (fake *FakeApp) InstancesArgsForCall(i int) (string, int) {
   385  	fake.instancesMutex.RLock()
   386  	defer fake.instancesMutex.RUnlock()
   387  	argsForCall := fake.instancesArgsForCall[i]
   388  	return argsForCall.arg1, argsForCall.arg2
   389  }
   390  
   391  func (fake *FakeApp) Memory(arg1 string, arg2 int64) {
   392  	fake.memoryMutex.Lock()
   393  	fake.memoryArgsForCall = append(fake.memoryArgsForCall, struct {
   394  		arg1 string
   395  		arg2 int64
   396  	}{arg1, arg2})
   397  	fake.recordInvocation("Memory", []interface{}{arg1, arg2})
   398  	fake.memoryMutex.Unlock()
   399  	if fake.MemoryStub != nil {
   400  		fake.MemoryStub(arg1, arg2)
   401  	}
   402  }
   403  
   404  func (fake *FakeApp) MemoryCallCount() int {
   405  	fake.memoryMutex.RLock()
   406  	defer fake.memoryMutex.RUnlock()
   407  	return len(fake.memoryArgsForCall)
   408  }
   409  
   410  func (fake *FakeApp) MemoryCalls(stub func(string, int64)) {
   411  	fake.memoryMutex.Lock()
   412  	defer fake.memoryMutex.Unlock()
   413  	fake.MemoryStub = stub
   414  }
   415  
   416  func (fake *FakeApp) MemoryArgsForCall(i int) (string, int64) {
   417  	fake.memoryMutex.RLock()
   418  	defer fake.memoryMutex.RUnlock()
   419  	argsForCall := fake.memoryArgsForCall[i]
   420  	return argsForCall.arg1, argsForCall.arg2
   421  }
   422  
   423  func (fake *FakeApp) Route(arg1 string, arg2 string, arg3 string, arg4 string, arg5 int) {
   424  	fake.routeMutex.Lock()
   425  	fake.routeArgsForCall = append(fake.routeArgsForCall, struct {
   426  		arg1 string
   427  		arg2 string
   428  		arg3 string
   429  		arg4 string
   430  		arg5 int
   431  	}{arg1, arg2, arg3, arg4, arg5})
   432  	fake.recordInvocation("Route", []interface{}{arg1, arg2, arg3, arg4, arg5})
   433  	fake.routeMutex.Unlock()
   434  	if fake.RouteStub != nil {
   435  		fake.RouteStub(arg1, arg2, arg3, arg4, arg5)
   436  	}
   437  }
   438  
   439  func (fake *FakeApp) RouteCallCount() int {
   440  	fake.routeMutex.RLock()
   441  	defer fake.routeMutex.RUnlock()
   442  	return len(fake.routeArgsForCall)
   443  }
   444  
   445  func (fake *FakeApp) RouteCalls(stub func(string, string, string, string, int)) {
   446  	fake.routeMutex.Lock()
   447  	defer fake.routeMutex.Unlock()
   448  	fake.RouteStub = stub
   449  }
   450  
   451  func (fake *FakeApp) RouteArgsForCall(i int) (string, string, string, string, int) {
   452  	fake.routeMutex.RLock()
   453  	defer fake.routeMutex.RUnlock()
   454  	argsForCall := fake.routeArgsForCall[i]
   455  	return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4, argsForCall.arg5
   456  }
   457  
   458  func (fake *FakeApp) Save(arg1 io.Writer) error {
   459  	fake.saveMutex.Lock()
   460  	ret, specificReturn := fake.saveReturnsOnCall[len(fake.saveArgsForCall)]
   461  	fake.saveArgsForCall = append(fake.saveArgsForCall, struct {
   462  		arg1 io.Writer
   463  	}{arg1})
   464  	fake.recordInvocation("Save", []interface{}{arg1})
   465  	fake.saveMutex.Unlock()
   466  	if fake.SaveStub != nil {
   467  		return fake.SaveStub(arg1)
   468  	}
   469  	if specificReturn {
   470  		return ret.result1
   471  	}
   472  	fakeReturns := fake.saveReturns
   473  	return fakeReturns.result1
   474  }
   475  
   476  func (fake *FakeApp) SaveCallCount() int {
   477  	fake.saveMutex.RLock()
   478  	defer fake.saveMutex.RUnlock()
   479  	return len(fake.saveArgsForCall)
   480  }
   481  
   482  func (fake *FakeApp) SaveCalls(stub func(io.Writer) error) {
   483  	fake.saveMutex.Lock()
   484  	defer fake.saveMutex.Unlock()
   485  	fake.SaveStub = stub
   486  }
   487  
   488  func (fake *FakeApp) SaveArgsForCall(i int) io.Writer {
   489  	fake.saveMutex.RLock()
   490  	defer fake.saveMutex.RUnlock()
   491  	argsForCall := fake.saveArgsForCall[i]
   492  	return argsForCall.arg1
   493  }
   494  
   495  func (fake *FakeApp) SaveReturns(result1 error) {
   496  	fake.saveMutex.Lock()
   497  	defer fake.saveMutex.Unlock()
   498  	fake.SaveStub = nil
   499  	fake.saveReturns = struct {
   500  		result1 error
   501  	}{result1}
   502  }
   503  
   504  func (fake *FakeApp) SaveReturnsOnCall(i int, result1 error) {
   505  	fake.saveMutex.Lock()
   506  	defer fake.saveMutex.Unlock()
   507  	fake.SaveStub = nil
   508  	if fake.saveReturnsOnCall == nil {
   509  		fake.saveReturnsOnCall = make(map[int]struct {
   510  			result1 error
   511  		})
   512  	}
   513  	fake.saveReturnsOnCall[i] = struct {
   514  		result1 error
   515  	}{result1}
   516  }
   517  
   518  func (fake *FakeApp) Service(arg1 string, arg2 string) {
   519  	fake.serviceMutex.Lock()
   520  	fake.serviceArgsForCall = append(fake.serviceArgsForCall, struct {
   521  		arg1 string
   522  		arg2 string
   523  	}{arg1, arg2})
   524  	fake.recordInvocation("Service", []interface{}{arg1, arg2})
   525  	fake.serviceMutex.Unlock()
   526  	if fake.ServiceStub != nil {
   527  		fake.ServiceStub(arg1, arg2)
   528  	}
   529  }
   530  
   531  func (fake *FakeApp) ServiceCallCount() int {
   532  	fake.serviceMutex.RLock()
   533  	defer fake.serviceMutex.RUnlock()
   534  	return len(fake.serviceArgsForCall)
   535  }
   536  
   537  func (fake *FakeApp) ServiceCalls(stub func(string, string)) {
   538  	fake.serviceMutex.Lock()
   539  	defer fake.serviceMutex.Unlock()
   540  	fake.ServiceStub = stub
   541  }
   542  
   543  func (fake *FakeApp) ServiceArgsForCall(i int) (string, string) {
   544  	fake.serviceMutex.RLock()
   545  	defer fake.serviceMutex.RUnlock()
   546  	argsForCall := fake.serviceArgsForCall[i]
   547  	return argsForCall.arg1, argsForCall.arg2
   548  }
   549  
   550  func (fake *FakeApp) Stack(arg1 string, arg2 string) {
   551  	fake.stackMutex.Lock()
   552  	fake.stackArgsForCall = append(fake.stackArgsForCall, struct {
   553  		arg1 string
   554  		arg2 string
   555  	}{arg1, arg2})
   556  	fake.recordInvocation("Stack", []interface{}{arg1, arg2})
   557  	fake.stackMutex.Unlock()
   558  	if fake.StackStub != nil {
   559  		fake.StackStub(arg1, arg2)
   560  	}
   561  }
   562  
   563  func (fake *FakeApp) StackCallCount() int {
   564  	fake.stackMutex.RLock()
   565  	defer fake.stackMutex.RUnlock()
   566  	return len(fake.stackArgsForCall)
   567  }
   568  
   569  func (fake *FakeApp) StackCalls(stub func(string, string)) {
   570  	fake.stackMutex.Lock()
   571  	defer fake.stackMutex.Unlock()
   572  	fake.StackStub = stub
   573  }
   574  
   575  func (fake *FakeApp) StackArgsForCall(i int) (string, string) {
   576  	fake.stackMutex.RLock()
   577  	defer fake.stackMutex.RUnlock()
   578  	argsForCall := fake.stackArgsForCall[i]
   579  	return argsForCall.arg1, argsForCall.arg2
   580  }
   581  
   582  func (fake *FakeApp) StartCommand(arg1 string, arg2 string) {
   583  	fake.startCommandMutex.Lock()
   584  	fake.startCommandArgsForCall = append(fake.startCommandArgsForCall, struct {
   585  		arg1 string
   586  		arg2 string
   587  	}{arg1, arg2})
   588  	fake.recordInvocation("StartCommand", []interface{}{arg1, arg2})
   589  	fake.startCommandMutex.Unlock()
   590  	if fake.StartCommandStub != nil {
   591  		fake.StartCommandStub(arg1, arg2)
   592  	}
   593  }
   594  
   595  func (fake *FakeApp) StartCommandCallCount() int {
   596  	fake.startCommandMutex.RLock()
   597  	defer fake.startCommandMutex.RUnlock()
   598  	return len(fake.startCommandArgsForCall)
   599  }
   600  
   601  func (fake *FakeApp) StartCommandCalls(stub func(string, string)) {
   602  	fake.startCommandMutex.Lock()
   603  	defer fake.startCommandMutex.Unlock()
   604  	fake.StartCommandStub = stub
   605  }
   606  
   607  func (fake *FakeApp) StartCommandArgsForCall(i int) (string, string) {
   608  	fake.startCommandMutex.RLock()
   609  	defer fake.startCommandMutex.RUnlock()
   610  	argsForCall := fake.startCommandArgsForCall[i]
   611  	return argsForCall.arg1, argsForCall.arg2
   612  }
   613  
   614  func (fake *FakeApp) Invocations() map[string][][]interface{} {
   615  	fake.invocationsMutex.RLock()
   616  	defer fake.invocationsMutex.RUnlock()
   617  	fake.buildpackURLMutex.RLock()
   618  	defer fake.buildpackURLMutex.RUnlock()
   619  	fake.diskQuotaMutex.RLock()
   620  	defer fake.diskQuotaMutex.RUnlock()
   621  	fake.environmentVarsMutex.RLock()
   622  	defer fake.environmentVarsMutex.RUnlock()
   623  	fake.getContentsMutex.RLock()
   624  	defer fake.getContentsMutex.RUnlock()
   625  	fake.healthCheckHTTPEndpointMutex.RLock()
   626  	defer fake.healthCheckHTTPEndpointMutex.RUnlock()
   627  	fake.healthCheckTimeoutMutex.RLock()
   628  	defer fake.healthCheckTimeoutMutex.RUnlock()
   629  	fake.healthCheckTypeMutex.RLock()
   630  	defer fake.healthCheckTypeMutex.RUnlock()
   631  	fake.instancesMutex.RLock()
   632  	defer fake.instancesMutex.RUnlock()
   633  	fake.memoryMutex.RLock()
   634  	defer fake.memoryMutex.RUnlock()
   635  	fake.routeMutex.RLock()
   636  	defer fake.routeMutex.RUnlock()
   637  	fake.saveMutex.RLock()
   638  	defer fake.saveMutex.RUnlock()
   639  	fake.serviceMutex.RLock()
   640  	defer fake.serviceMutex.RUnlock()
   641  	fake.stackMutex.RLock()
   642  	defer fake.stackMutex.RUnlock()
   643  	fake.startCommandMutex.RLock()
   644  	defer fake.startCommandMutex.RUnlock()
   645  	copiedInvocations := map[string][][]interface{}{}
   646  	for key, value := range fake.invocations {
   647  		copiedInvocations[key] = value
   648  	}
   649  	return copiedInvocations
   650  }
   651  
   652  func (fake *FakeApp) recordInvocation(key string, args []interface{}) {
   653  	fake.invocationsMutex.Lock()
   654  	defer fake.invocationsMutex.Unlock()
   655  	if fake.invocations == nil {
   656  		fake.invocations = map[string][][]interface{}{}
   657  	}
   658  	if fake.invocations[key] == nil {
   659  		fake.invocations[key] = [][]interface{}{}
   660  	}
   661  	fake.invocations[key] = append(fake.invocations[key], args)
   662  }
   663  
   664  var _ manifest.App = new(FakeApp)