github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/cf/manifest/manifestfakes/fake_app.go (about)

     1  // This file was generated by counterfeiter
     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  	MemoryStub        func(string, int64)
    26  	memoryMutex       sync.RWMutex
    27  	memoryArgsForCall []struct {
    28  		arg1 string
    29  		arg2 int64
    30  	}
    31  	ServiceStub        func(string, string)
    32  	serviceMutex       sync.RWMutex
    33  	serviceArgsForCall []struct {
    34  		arg1 string
    35  		arg2 string
    36  	}
    37  	StartCommandStub        func(string, string)
    38  	startCommandMutex       sync.RWMutex
    39  	startCommandArgsForCall []struct {
    40  		arg1 string
    41  		arg2 string
    42  	}
    43  	EnvironmentVarsStub        func(string, string, string)
    44  	environmentVarsMutex       sync.RWMutex
    45  	environmentVarsArgsForCall []struct {
    46  		arg1 string
    47  		arg2 string
    48  		arg3 string
    49  	}
    50  	HealthCheckTimeoutStub        func(string, int)
    51  	healthCheckTimeoutMutex       sync.RWMutex
    52  	healthCheckTimeoutArgsForCall []struct {
    53  		arg1 string
    54  		arg2 int
    55  	}
    56  	HealthCheckTypeStub        func(string, string)
    57  	healthCheckTypeMutex       sync.RWMutex
    58  	healthCheckTypeArgsForCall []struct {
    59  		arg1 string
    60  		arg2 string
    61  	}
    62  	HealthCheckHTTPEndpointStub        func(string, string)
    63  	healthCheckHTTPEndpointMutex       sync.RWMutex
    64  	healthCheckHTTPEndpointArgsForCall []struct {
    65  		arg1 string
    66  		arg2 string
    67  	}
    68  	InstancesStub        func(string, int)
    69  	instancesMutex       sync.RWMutex
    70  	instancesArgsForCall []struct {
    71  		arg1 string
    72  		arg2 int
    73  	}
    74  	RouteStub        func(string, string, string, string, int)
    75  	routeMutex       sync.RWMutex
    76  	routeArgsForCall []struct {
    77  		arg1 string
    78  		arg2 string
    79  		arg3 string
    80  		arg4 string
    81  		arg5 int
    82  	}
    83  	GetContentsStub        func() []models.Application
    84  	getContentsMutex       sync.RWMutex
    85  	getContentsArgsForCall []struct{}
    86  	getContentsReturns     struct {
    87  		result1 []models.Application
    88  	}
    89  	StackStub        func(string, string)
    90  	stackMutex       sync.RWMutex
    91  	stackArgsForCall []struct {
    92  		arg1 string
    93  		arg2 string
    94  	}
    95  	AppPortsStub        func(string, []int)
    96  	appPortsMutex       sync.RWMutex
    97  	appPortsArgsForCall []struct {
    98  		arg1 string
    99  		arg2 []int
   100  	}
   101  	SaveStub        func(f io.Writer) error
   102  	saveMutex       sync.RWMutex
   103  	saveArgsForCall []struct {
   104  		f io.Writer
   105  	}
   106  	saveReturns struct {
   107  		result1 error
   108  	}
   109  	invocations      map[string][][]interface{}
   110  	invocationsMutex sync.RWMutex
   111  }
   112  
   113  func (fake *FakeApp) BuildpackURL(arg1 string, arg2 string) {
   114  	fake.buildpackURLMutex.Lock()
   115  	fake.buildpackURLArgsForCall = append(fake.buildpackURLArgsForCall, struct {
   116  		arg1 string
   117  		arg2 string
   118  	}{arg1, arg2})
   119  	fake.recordInvocation("BuildpackURL", []interface{}{arg1, arg2})
   120  	fake.buildpackURLMutex.Unlock()
   121  	if fake.BuildpackURLStub != nil {
   122  		fake.BuildpackURLStub(arg1, arg2)
   123  	}
   124  }
   125  
   126  func (fake *FakeApp) BuildpackURLCallCount() int {
   127  	fake.buildpackURLMutex.RLock()
   128  	defer fake.buildpackURLMutex.RUnlock()
   129  	return len(fake.buildpackURLArgsForCall)
   130  }
   131  
   132  func (fake *FakeApp) BuildpackURLArgsForCall(i int) (string, string) {
   133  	fake.buildpackURLMutex.RLock()
   134  	defer fake.buildpackURLMutex.RUnlock()
   135  	return fake.buildpackURLArgsForCall[i].arg1, fake.buildpackURLArgsForCall[i].arg2
   136  }
   137  
   138  func (fake *FakeApp) DiskQuota(arg1 string, arg2 int64) {
   139  	fake.diskQuotaMutex.Lock()
   140  	fake.diskQuotaArgsForCall = append(fake.diskQuotaArgsForCall, struct {
   141  		arg1 string
   142  		arg2 int64
   143  	}{arg1, arg2})
   144  	fake.recordInvocation("DiskQuota", []interface{}{arg1, arg2})
   145  	fake.diskQuotaMutex.Unlock()
   146  	if fake.DiskQuotaStub != nil {
   147  		fake.DiskQuotaStub(arg1, arg2)
   148  	}
   149  }
   150  
   151  func (fake *FakeApp) DiskQuotaCallCount() int {
   152  	fake.diskQuotaMutex.RLock()
   153  	defer fake.diskQuotaMutex.RUnlock()
   154  	return len(fake.diskQuotaArgsForCall)
   155  }
   156  
   157  func (fake *FakeApp) DiskQuotaArgsForCall(i int) (string, int64) {
   158  	fake.diskQuotaMutex.RLock()
   159  	defer fake.diskQuotaMutex.RUnlock()
   160  	return fake.diskQuotaArgsForCall[i].arg1, fake.diskQuotaArgsForCall[i].arg2
   161  }
   162  
   163  func (fake *FakeApp) Memory(arg1 string, arg2 int64) {
   164  	fake.memoryMutex.Lock()
   165  	fake.memoryArgsForCall = append(fake.memoryArgsForCall, struct {
   166  		arg1 string
   167  		arg2 int64
   168  	}{arg1, arg2})
   169  	fake.recordInvocation("Memory", []interface{}{arg1, arg2})
   170  	fake.memoryMutex.Unlock()
   171  	if fake.MemoryStub != nil {
   172  		fake.MemoryStub(arg1, arg2)
   173  	}
   174  }
   175  
   176  func (fake *FakeApp) MemoryCallCount() int {
   177  	fake.memoryMutex.RLock()
   178  	defer fake.memoryMutex.RUnlock()
   179  	return len(fake.memoryArgsForCall)
   180  }
   181  
   182  func (fake *FakeApp) MemoryArgsForCall(i int) (string, int64) {
   183  	fake.memoryMutex.RLock()
   184  	defer fake.memoryMutex.RUnlock()
   185  	return fake.memoryArgsForCall[i].arg1, fake.memoryArgsForCall[i].arg2
   186  }
   187  
   188  func (fake *FakeApp) Service(arg1 string, arg2 string) {
   189  	fake.serviceMutex.Lock()
   190  	fake.serviceArgsForCall = append(fake.serviceArgsForCall, struct {
   191  		arg1 string
   192  		arg2 string
   193  	}{arg1, arg2})
   194  	fake.recordInvocation("Service", []interface{}{arg1, arg2})
   195  	fake.serviceMutex.Unlock()
   196  	if fake.ServiceStub != nil {
   197  		fake.ServiceStub(arg1, arg2)
   198  	}
   199  }
   200  
   201  func (fake *FakeApp) ServiceCallCount() int {
   202  	fake.serviceMutex.RLock()
   203  	defer fake.serviceMutex.RUnlock()
   204  	return len(fake.serviceArgsForCall)
   205  }
   206  
   207  func (fake *FakeApp) ServiceArgsForCall(i int) (string, string) {
   208  	fake.serviceMutex.RLock()
   209  	defer fake.serviceMutex.RUnlock()
   210  	return fake.serviceArgsForCall[i].arg1, fake.serviceArgsForCall[i].arg2
   211  }
   212  
   213  func (fake *FakeApp) StartCommand(arg1 string, arg2 string) {
   214  	fake.startCommandMutex.Lock()
   215  	fake.startCommandArgsForCall = append(fake.startCommandArgsForCall, struct {
   216  		arg1 string
   217  		arg2 string
   218  	}{arg1, arg2})
   219  	fake.recordInvocation("StartCommand", []interface{}{arg1, arg2})
   220  	fake.startCommandMutex.Unlock()
   221  	if fake.StartCommandStub != nil {
   222  		fake.StartCommandStub(arg1, arg2)
   223  	}
   224  }
   225  
   226  func (fake *FakeApp) StartCommandCallCount() int {
   227  	fake.startCommandMutex.RLock()
   228  	defer fake.startCommandMutex.RUnlock()
   229  	return len(fake.startCommandArgsForCall)
   230  }
   231  
   232  func (fake *FakeApp) StartCommandArgsForCall(i int) (string, string) {
   233  	fake.startCommandMutex.RLock()
   234  	defer fake.startCommandMutex.RUnlock()
   235  	return fake.startCommandArgsForCall[i].arg1, fake.startCommandArgsForCall[i].arg2
   236  }
   237  
   238  func (fake *FakeApp) EnvironmentVars(arg1 string, arg2 string, arg3 string) {
   239  	fake.environmentVarsMutex.Lock()
   240  	fake.environmentVarsArgsForCall = append(fake.environmentVarsArgsForCall, struct {
   241  		arg1 string
   242  		arg2 string
   243  		arg3 string
   244  	}{arg1, arg2, arg3})
   245  	fake.recordInvocation("EnvironmentVars", []interface{}{arg1, arg2, arg3})
   246  	fake.environmentVarsMutex.Unlock()
   247  	if fake.EnvironmentVarsStub != nil {
   248  		fake.EnvironmentVarsStub(arg1, arg2, arg3)
   249  	}
   250  }
   251  
   252  func (fake *FakeApp) EnvironmentVarsCallCount() int {
   253  	fake.environmentVarsMutex.RLock()
   254  	defer fake.environmentVarsMutex.RUnlock()
   255  	return len(fake.environmentVarsArgsForCall)
   256  }
   257  
   258  func (fake *FakeApp) EnvironmentVarsArgsForCall(i int) (string, string, string) {
   259  	fake.environmentVarsMutex.RLock()
   260  	defer fake.environmentVarsMutex.RUnlock()
   261  	return fake.environmentVarsArgsForCall[i].arg1, fake.environmentVarsArgsForCall[i].arg2, fake.environmentVarsArgsForCall[i].arg3
   262  }
   263  
   264  func (fake *FakeApp) HealthCheckTimeout(arg1 string, arg2 int) {
   265  	fake.healthCheckTimeoutMutex.Lock()
   266  	fake.healthCheckTimeoutArgsForCall = append(fake.healthCheckTimeoutArgsForCall, struct {
   267  		arg1 string
   268  		arg2 int
   269  	}{arg1, arg2})
   270  	fake.recordInvocation("HealthCheckTimeout", []interface{}{arg1, arg2})
   271  	fake.healthCheckTimeoutMutex.Unlock()
   272  	if fake.HealthCheckTimeoutStub != nil {
   273  		fake.HealthCheckTimeoutStub(arg1, arg2)
   274  	}
   275  }
   276  
   277  func (fake *FakeApp) HealthCheckTimeoutCallCount() int {
   278  	fake.healthCheckTimeoutMutex.RLock()
   279  	defer fake.healthCheckTimeoutMutex.RUnlock()
   280  	return len(fake.healthCheckTimeoutArgsForCall)
   281  }
   282  
   283  func (fake *FakeApp) HealthCheckTimeoutArgsForCall(i int) (string, int) {
   284  	fake.healthCheckTimeoutMutex.RLock()
   285  	defer fake.healthCheckTimeoutMutex.RUnlock()
   286  	return fake.healthCheckTimeoutArgsForCall[i].arg1, fake.healthCheckTimeoutArgsForCall[i].arg2
   287  }
   288  
   289  func (fake *FakeApp) HealthCheckType(arg1 string, arg2 string) {
   290  	fake.healthCheckTypeMutex.Lock()
   291  	fake.healthCheckTypeArgsForCall = append(fake.healthCheckTypeArgsForCall, struct {
   292  		arg1 string
   293  		arg2 string
   294  	}{arg1, arg2})
   295  	fake.recordInvocation("HealthCheckType", []interface{}{arg1, arg2})
   296  	fake.healthCheckTypeMutex.Unlock()
   297  	if fake.HealthCheckTypeStub != nil {
   298  		fake.HealthCheckTypeStub(arg1, arg2)
   299  	}
   300  }
   301  
   302  func (fake *FakeApp) HealthCheckTypeCallCount() int {
   303  	fake.healthCheckTypeMutex.RLock()
   304  	defer fake.healthCheckTypeMutex.RUnlock()
   305  	return len(fake.healthCheckTypeArgsForCall)
   306  }
   307  
   308  func (fake *FakeApp) HealthCheckTypeArgsForCall(i int) (string, string) {
   309  	fake.healthCheckTypeMutex.RLock()
   310  	defer fake.healthCheckTypeMutex.RUnlock()
   311  	return fake.healthCheckTypeArgsForCall[i].arg1, fake.healthCheckTypeArgsForCall[i].arg2
   312  }
   313  
   314  func (fake *FakeApp) HealthCheckHTTPEndpoint(arg1 string, arg2 string) {
   315  	fake.healthCheckHTTPEndpointMutex.Lock()
   316  	fake.healthCheckHTTPEndpointArgsForCall = append(fake.healthCheckHTTPEndpointArgsForCall, struct {
   317  		arg1 string
   318  		arg2 string
   319  	}{arg1, arg2})
   320  	fake.recordInvocation("HealthCheckHTTPEndpoint", []interface{}{arg1, arg2})
   321  	fake.healthCheckHTTPEndpointMutex.Unlock()
   322  	if fake.HealthCheckHTTPEndpointStub != nil {
   323  		fake.HealthCheckHTTPEndpointStub(arg1, arg2)
   324  	}
   325  }
   326  
   327  func (fake *FakeApp) HealthCheckHTTPEndpointCallCount() int {
   328  	fake.healthCheckHTTPEndpointMutex.RLock()
   329  	defer fake.healthCheckHTTPEndpointMutex.RUnlock()
   330  	return len(fake.healthCheckHTTPEndpointArgsForCall)
   331  }
   332  
   333  func (fake *FakeApp) HealthCheckHTTPEndpointArgsForCall(i int) (string, string) {
   334  	fake.healthCheckHTTPEndpointMutex.RLock()
   335  	defer fake.healthCheckHTTPEndpointMutex.RUnlock()
   336  	return fake.healthCheckHTTPEndpointArgsForCall[i].arg1, fake.healthCheckHTTPEndpointArgsForCall[i].arg2
   337  }
   338  
   339  func (fake *FakeApp) Instances(arg1 string, arg2 int) {
   340  	fake.instancesMutex.Lock()
   341  	fake.instancesArgsForCall = append(fake.instancesArgsForCall, struct {
   342  		arg1 string
   343  		arg2 int
   344  	}{arg1, arg2})
   345  	fake.recordInvocation("Instances", []interface{}{arg1, arg2})
   346  	fake.instancesMutex.Unlock()
   347  	if fake.InstancesStub != nil {
   348  		fake.InstancesStub(arg1, arg2)
   349  	}
   350  }
   351  
   352  func (fake *FakeApp) InstancesCallCount() int {
   353  	fake.instancesMutex.RLock()
   354  	defer fake.instancesMutex.RUnlock()
   355  	return len(fake.instancesArgsForCall)
   356  }
   357  
   358  func (fake *FakeApp) InstancesArgsForCall(i int) (string, int) {
   359  	fake.instancesMutex.RLock()
   360  	defer fake.instancesMutex.RUnlock()
   361  	return fake.instancesArgsForCall[i].arg1, fake.instancesArgsForCall[i].arg2
   362  }
   363  
   364  func (fake *FakeApp) Route(arg1 string, arg2 string, arg3 string, arg4 string, arg5 int) {
   365  	fake.routeMutex.Lock()
   366  	fake.routeArgsForCall = append(fake.routeArgsForCall, struct {
   367  		arg1 string
   368  		arg2 string
   369  		arg3 string
   370  		arg4 string
   371  		arg5 int
   372  	}{arg1, arg2, arg3, arg4, arg5})
   373  	fake.recordInvocation("Route", []interface{}{arg1, arg2, arg3, arg4, arg5})
   374  	fake.routeMutex.Unlock()
   375  	if fake.RouteStub != nil {
   376  		fake.RouteStub(arg1, arg2, arg3, arg4, arg5)
   377  	}
   378  }
   379  
   380  func (fake *FakeApp) RouteCallCount() int {
   381  	fake.routeMutex.RLock()
   382  	defer fake.routeMutex.RUnlock()
   383  	return len(fake.routeArgsForCall)
   384  }
   385  
   386  func (fake *FakeApp) RouteArgsForCall(i int) (string, string, string, string, int) {
   387  	fake.routeMutex.RLock()
   388  	defer fake.routeMutex.RUnlock()
   389  	return fake.routeArgsForCall[i].arg1, fake.routeArgsForCall[i].arg2, fake.routeArgsForCall[i].arg3, fake.routeArgsForCall[i].arg4, fake.routeArgsForCall[i].arg5
   390  }
   391  
   392  func (fake *FakeApp) GetContents() []models.Application {
   393  	fake.getContentsMutex.Lock()
   394  	fake.getContentsArgsForCall = append(fake.getContentsArgsForCall, struct{}{})
   395  	fake.recordInvocation("GetContents", []interface{}{})
   396  	fake.getContentsMutex.Unlock()
   397  	if fake.GetContentsStub != nil {
   398  		return fake.GetContentsStub()
   399  	} else {
   400  		return fake.getContentsReturns.result1
   401  	}
   402  }
   403  
   404  func (fake *FakeApp) GetContentsCallCount() int {
   405  	fake.getContentsMutex.RLock()
   406  	defer fake.getContentsMutex.RUnlock()
   407  	return len(fake.getContentsArgsForCall)
   408  }
   409  
   410  func (fake *FakeApp) GetContentsReturns(result1 []models.Application) {
   411  	fake.GetContentsStub = nil
   412  	fake.getContentsReturns = struct {
   413  		result1 []models.Application
   414  	}{result1}
   415  }
   416  
   417  func (fake *FakeApp) Stack(arg1 string, arg2 string) {
   418  	fake.stackMutex.Lock()
   419  	fake.stackArgsForCall = append(fake.stackArgsForCall, struct {
   420  		arg1 string
   421  		arg2 string
   422  	}{arg1, arg2})
   423  	fake.recordInvocation("Stack", []interface{}{arg1, arg2})
   424  	fake.stackMutex.Unlock()
   425  	if fake.StackStub != nil {
   426  		fake.StackStub(arg1, arg2)
   427  	}
   428  }
   429  
   430  func (fake *FakeApp) StackCallCount() int {
   431  	fake.stackMutex.RLock()
   432  	defer fake.stackMutex.RUnlock()
   433  	return len(fake.stackArgsForCall)
   434  }
   435  
   436  func (fake *FakeApp) StackArgsForCall(i int) (string, string) {
   437  	fake.stackMutex.RLock()
   438  	defer fake.stackMutex.RUnlock()
   439  	return fake.stackArgsForCall[i].arg1, fake.stackArgsForCall[i].arg2
   440  }
   441  
   442  func (fake *FakeApp) AppPorts(arg1 string, arg2 []int) {
   443  	var arg2Copy []int
   444  	if arg2 != nil {
   445  		arg2Copy = make([]int, len(arg2))
   446  		copy(arg2Copy, arg2)
   447  	}
   448  	fake.appPortsMutex.Lock()
   449  	fake.appPortsArgsForCall = append(fake.appPortsArgsForCall, struct {
   450  		arg1 string
   451  		arg2 []int
   452  	}{arg1, arg2Copy})
   453  	fake.recordInvocation("AppPorts", []interface{}{arg1, arg2Copy})
   454  	fake.appPortsMutex.Unlock()
   455  	if fake.AppPortsStub != nil {
   456  		fake.AppPortsStub(arg1, arg2)
   457  	}
   458  }
   459  
   460  func (fake *FakeApp) AppPortsCallCount() int {
   461  	fake.appPortsMutex.RLock()
   462  	defer fake.appPortsMutex.RUnlock()
   463  	return len(fake.appPortsArgsForCall)
   464  }
   465  
   466  func (fake *FakeApp) AppPortsArgsForCall(i int) (string, []int) {
   467  	fake.appPortsMutex.RLock()
   468  	defer fake.appPortsMutex.RUnlock()
   469  	return fake.appPortsArgsForCall[i].arg1, fake.appPortsArgsForCall[i].arg2
   470  }
   471  
   472  func (fake *FakeApp) Save(f io.Writer) error {
   473  	fake.saveMutex.Lock()
   474  	fake.saveArgsForCall = append(fake.saveArgsForCall, struct {
   475  		f io.Writer
   476  	}{f})
   477  	fake.recordInvocation("Save", []interface{}{f})
   478  	fake.saveMutex.Unlock()
   479  	if fake.SaveStub != nil {
   480  		return fake.SaveStub(f)
   481  	} else {
   482  		return fake.saveReturns.result1
   483  	}
   484  }
   485  
   486  func (fake *FakeApp) SaveCallCount() int {
   487  	fake.saveMutex.RLock()
   488  	defer fake.saveMutex.RUnlock()
   489  	return len(fake.saveArgsForCall)
   490  }
   491  
   492  func (fake *FakeApp) SaveArgsForCall(i int) io.Writer {
   493  	fake.saveMutex.RLock()
   494  	defer fake.saveMutex.RUnlock()
   495  	return fake.saveArgsForCall[i].f
   496  }
   497  
   498  func (fake *FakeApp) SaveReturns(result1 error) {
   499  	fake.SaveStub = nil
   500  	fake.saveReturns = struct {
   501  		result1 error
   502  	}{result1}
   503  }
   504  
   505  func (fake *FakeApp) Invocations() map[string][][]interface{} {
   506  	fake.invocationsMutex.RLock()
   507  	defer fake.invocationsMutex.RUnlock()
   508  	fake.buildpackURLMutex.RLock()
   509  	defer fake.buildpackURLMutex.RUnlock()
   510  	fake.diskQuotaMutex.RLock()
   511  	defer fake.diskQuotaMutex.RUnlock()
   512  	fake.memoryMutex.RLock()
   513  	defer fake.memoryMutex.RUnlock()
   514  	fake.serviceMutex.RLock()
   515  	defer fake.serviceMutex.RUnlock()
   516  	fake.startCommandMutex.RLock()
   517  	defer fake.startCommandMutex.RUnlock()
   518  	fake.environmentVarsMutex.RLock()
   519  	defer fake.environmentVarsMutex.RUnlock()
   520  	fake.healthCheckTimeoutMutex.RLock()
   521  	defer fake.healthCheckTimeoutMutex.RUnlock()
   522  	fake.healthCheckTypeMutex.RLock()
   523  	defer fake.healthCheckTypeMutex.RUnlock()
   524  	fake.healthCheckHTTPEndpointMutex.RLock()
   525  	defer fake.healthCheckHTTPEndpointMutex.RUnlock()
   526  	fake.instancesMutex.RLock()
   527  	defer fake.instancesMutex.RUnlock()
   528  	fake.routeMutex.RLock()
   529  	defer fake.routeMutex.RUnlock()
   530  	fake.getContentsMutex.RLock()
   531  	defer fake.getContentsMutex.RUnlock()
   532  	fake.stackMutex.RLock()
   533  	defer fake.stackMutex.RUnlock()
   534  	fake.appPortsMutex.RLock()
   535  	defer fake.appPortsMutex.RUnlock()
   536  	fake.saveMutex.RLock()
   537  	defer fake.saveMutex.RUnlock()
   538  	return fake.invocations
   539  }
   540  
   541  func (fake *FakeApp) recordInvocation(key string, args []interface{}) {
   542  	fake.invocationsMutex.Lock()
   543  	defer fake.invocationsMutex.Unlock()
   544  	if fake.invocations == nil {
   545  		fake.invocations = map[string][][]interface{}{}
   546  	}
   547  	if fake.invocations[key] == nil {
   548  		fake.invocations[key] = [][]interface{}{}
   549  	}
   550  	fake.invocations[key] = append(fake.invocations[key], args)
   551  }
   552  
   553  var _ manifest.App = new(FakeApp)