github.com/jenkins-x/jx/v2@v2.1.155/pkg/cmd/clients/mocks/jenkins_client.go (about)

     1  // Code generated by pegomock. DO NOT EDIT.
     2  // Source: github.com/jenkins-x/golang-jenkins (interfaces: JenkinsClient)
     3  
     4  package clients_test
     5  
     6  import (
     7  	io "io"
     8  	http "net/http"
     9  	url "net/url"
    10  	"reflect"
    11  	"time"
    12  
    13  	golang_jenkins "github.com/jenkins-x/golang-jenkins"
    14  	pegomock "github.com/petergtz/pegomock"
    15  )
    16  
    17  type MockJenkinsClient struct {
    18  	fail func(message string, callerSkip ...int)
    19  }
    20  
    21  func NewMockJenkinsClient(options ...pegomock.Option) *MockJenkinsClient {
    22  	mock := &MockJenkinsClient{}
    23  	for _, option := range options {
    24  		option.Apply(mock)
    25  	}
    26  	return mock
    27  }
    28  
    29  func (mock *MockJenkinsClient) SetFailHandler(fh pegomock.FailHandler) { mock.fail = fh }
    30  func (mock *MockJenkinsClient) FailHandler() pegomock.FailHandler      { return mock.fail }
    31  
    32  func (mock *MockJenkinsClient) AddJobToView(_param0 string, _param1 golang_jenkins.Job) error {
    33  	if mock == nil {
    34  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
    35  	}
    36  	params := []pegomock.Param{_param0, _param1}
    37  	result := pegomock.GetGenericMockFrom(mock).Invoke("AddJobToView", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
    38  	var ret0 error
    39  	if len(result) != 0 {
    40  		if result[0] != nil {
    41  			ret0 = result[0].(error)
    42  		}
    43  	}
    44  	return ret0
    45  }
    46  
    47  func (mock *MockJenkinsClient) BaseURL() string {
    48  	if mock == nil {
    49  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
    50  	}
    51  	params := []pegomock.Param{}
    52  	result := pegomock.GetGenericMockFrom(mock).Invoke("BaseURL", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem()})
    53  	var ret0 string
    54  	if len(result) != 0 {
    55  		if result[0] != nil {
    56  			ret0 = result[0].(string)
    57  		}
    58  	}
    59  	return ret0
    60  }
    61  
    62  func (mock *MockJenkinsClient) Build(_param0 golang_jenkins.Job, _param1 url.Values) error {
    63  	if mock == nil {
    64  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
    65  	}
    66  	params := []pegomock.Param{_param0, _param1}
    67  	result := pegomock.GetGenericMockFrom(mock).Invoke("Build", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
    68  	var ret0 error
    69  	if len(result) != 0 {
    70  		if result[0] != nil {
    71  			ret0 = result[0].(error)
    72  		}
    73  	}
    74  	return ret0
    75  }
    76  
    77  func (mock *MockJenkinsClient) CreateCredential(_param0 string, _param1 string, _param2 string) error {
    78  	if mock == nil {
    79  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
    80  	}
    81  	params := []pegomock.Param{_param0, _param1, _param2}
    82  	result := pegomock.GetGenericMockFrom(mock).Invoke("CreateCredential", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
    83  	var ret0 error
    84  	if len(result) != 0 {
    85  		if result[0] != nil {
    86  			ret0 = result[0].(error)
    87  		}
    88  	}
    89  	return ret0
    90  }
    91  
    92  func (mock *MockJenkinsClient) CreateFolderJobWithXML(_param0 string, _param1 string, _param2 string) error {
    93  	if mock == nil {
    94  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
    95  	}
    96  	params := []pegomock.Param{_param0, _param1, _param2}
    97  	result := pegomock.GetGenericMockFrom(mock).Invoke("CreateFolderJobWithXML", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
    98  	var ret0 error
    99  	if len(result) != 0 {
   100  		if result[0] != nil {
   101  			ret0 = result[0].(error)
   102  		}
   103  	}
   104  	return ret0
   105  }
   106  
   107  func (mock *MockJenkinsClient) CreateJob(_param0 golang_jenkins.JobItem, _param1 string) error {
   108  	if mock == nil {
   109  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   110  	}
   111  	params := []pegomock.Param{_param0, _param1}
   112  	result := pegomock.GetGenericMockFrom(mock).Invoke("CreateJob", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   113  	var ret0 error
   114  	if len(result) != 0 {
   115  		if result[0] != nil {
   116  			ret0 = result[0].(error)
   117  		}
   118  	}
   119  	return ret0
   120  }
   121  
   122  func (mock *MockJenkinsClient) CreateJobWithXML(_param0 string, _param1 string) error {
   123  	if mock == nil {
   124  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   125  	}
   126  	params := []pegomock.Param{_param0, _param1}
   127  	result := pegomock.GetGenericMockFrom(mock).Invoke("CreateJobWithXML", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   128  	var ret0 error
   129  	if len(result) != 0 {
   130  		if result[0] != nil {
   131  			ret0 = result[0].(error)
   132  		}
   133  	}
   134  	return ret0
   135  }
   136  
   137  func (mock *MockJenkinsClient) CreateView(_param0 golang_jenkins.ListView) error {
   138  	if mock == nil {
   139  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   140  	}
   141  	params := []pegomock.Param{_param0}
   142  	result := pegomock.GetGenericMockFrom(mock).Invoke("CreateView", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   143  	var ret0 error
   144  	if len(result) != 0 {
   145  		if result[0] != nil {
   146  			ret0 = result[0].(error)
   147  		}
   148  	}
   149  	return ret0
   150  }
   151  
   152  func (mock *MockJenkinsClient) DeleteJob(_param0 golang_jenkins.Job) error {
   153  	if mock == nil {
   154  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   155  	}
   156  	params := []pegomock.Param{_param0}
   157  	result := pegomock.GetGenericMockFrom(mock).Invoke("DeleteJob", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   158  	var ret0 error
   159  	if len(result) != 0 {
   160  		if result[0] != nil {
   161  			ret0 = result[0].(error)
   162  		}
   163  	}
   164  	return ret0
   165  }
   166  
   167  func (mock *MockJenkinsClient) GetArtifact(_param0 golang_jenkins.Build, _param1 golang_jenkins.Artifact) ([]byte, error) {
   168  	if mock == nil {
   169  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   170  	}
   171  	params := []pegomock.Param{_param0, _param1}
   172  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetArtifact", params, []reflect.Type{reflect.TypeOf((*[]byte)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   173  	var ret0 []byte
   174  	var ret1 error
   175  	if len(result) != 0 {
   176  		if result[0] != nil {
   177  			ret0 = result[0].([]byte)
   178  		}
   179  		if result[1] != nil {
   180  			ret1 = result[1].(error)
   181  		}
   182  	}
   183  	return ret0, ret1
   184  }
   185  
   186  func (mock *MockJenkinsClient) GetBuild(_param0 golang_jenkins.Job, _param1 int) (golang_jenkins.Build, error) {
   187  	if mock == nil {
   188  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   189  	}
   190  	params := []pegomock.Param{_param0, _param1}
   191  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetBuild", params, []reflect.Type{reflect.TypeOf((*golang_jenkins.Build)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   192  	var ret0 golang_jenkins.Build
   193  	var ret1 error
   194  	if len(result) != 0 {
   195  		if result[0] != nil {
   196  			ret0 = result[0].(golang_jenkins.Build)
   197  		}
   198  		if result[1] != nil {
   199  			ret1 = result[1].(error)
   200  		}
   201  	}
   202  	return ret0, ret1
   203  }
   204  
   205  func (mock *MockJenkinsClient) GetBuildConsoleOutput(_param0 golang_jenkins.Build) ([]byte, error) {
   206  	if mock == nil {
   207  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   208  	}
   209  	params := []pegomock.Param{_param0}
   210  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetBuildConsoleOutput", params, []reflect.Type{reflect.TypeOf((*[]byte)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   211  	var ret0 []byte
   212  	var ret1 error
   213  	if len(result) != 0 {
   214  		if result[0] != nil {
   215  			ret0 = result[0].([]byte)
   216  		}
   217  		if result[1] != nil {
   218  			ret1 = result[1].(error)
   219  		}
   220  	}
   221  	return ret0, ret1
   222  }
   223  
   224  func (mock *MockJenkinsClient) GetBuildURL(_param0 golang_jenkins.Job, _param1 int) string {
   225  	if mock == nil {
   226  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   227  	}
   228  	params := []pegomock.Param{_param0, _param1}
   229  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetBuildURL", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem()})
   230  	var ret0 string
   231  	if len(result) != 0 {
   232  		if result[0] != nil {
   233  			ret0 = result[0].(string)
   234  		}
   235  	}
   236  	return ret0
   237  }
   238  
   239  func (mock *MockJenkinsClient) GetComputer(_param0 string) (golang_jenkins.Computer, error) {
   240  	if mock == nil {
   241  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   242  	}
   243  	params := []pegomock.Param{_param0}
   244  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetComputer", params, []reflect.Type{reflect.TypeOf((*golang_jenkins.Computer)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   245  	var ret0 golang_jenkins.Computer
   246  	var ret1 error
   247  	if len(result) != 0 {
   248  		if result[0] != nil {
   249  			ret0 = result[0].(golang_jenkins.Computer)
   250  		}
   251  		if result[1] != nil {
   252  			ret1 = result[1].(error)
   253  		}
   254  	}
   255  	return ret0, ret1
   256  }
   257  
   258  func (mock *MockJenkinsClient) GetComputerObject() (golang_jenkins.ComputerObject, error) {
   259  	if mock == nil {
   260  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   261  	}
   262  	params := []pegomock.Param{}
   263  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetComputerObject", params, []reflect.Type{reflect.TypeOf((*golang_jenkins.ComputerObject)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   264  	var ret0 golang_jenkins.ComputerObject
   265  	var ret1 error
   266  	if len(result) != 0 {
   267  		if result[0] != nil {
   268  			ret0 = result[0].(golang_jenkins.ComputerObject)
   269  		}
   270  		if result[1] != nil {
   271  			ret1 = result[1].(error)
   272  		}
   273  	}
   274  	return ret0, ret1
   275  }
   276  
   277  func (mock *MockJenkinsClient) GetComputers() ([]golang_jenkins.Computer, error) {
   278  	if mock == nil {
   279  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   280  	}
   281  	params := []pegomock.Param{}
   282  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetComputers", params, []reflect.Type{reflect.TypeOf((*[]golang_jenkins.Computer)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   283  	var ret0 []golang_jenkins.Computer
   284  	var ret1 error
   285  	if len(result) != 0 {
   286  		if result[0] != nil {
   287  			ret0 = result[0].([]golang_jenkins.Computer)
   288  		}
   289  		if result[1] != nil {
   290  			ret1 = result[1].(error)
   291  		}
   292  	}
   293  	return ret0, ret1
   294  }
   295  
   296  func (mock *MockJenkinsClient) GetCredential(_param0 string) (*golang_jenkins.Credentials, error) {
   297  	if mock == nil {
   298  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   299  	}
   300  	params := []pegomock.Param{_param0}
   301  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetCredential", params, []reflect.Type{reflect.TypeOf((**golang_jenkins.Credentials)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   302  	var ret0 *golang_jenkins.Credentials
   303  	var ret1 error
   304  	if len(result) != 0 {
   305  		if result[0] != nil {
   306  			ret0 = result[0].(*golang_jenkins.Credentials)
   307  		}
   308  		if result[1] != nil {
   309  			ret1 = result[1].(error)
   310  		}
   311  	}
   312  	return ret0, ret1
   313  }
   314  
   315  func (mock *MockJenkinsClient) GetJob(_param0 string) (golang_jenkins.Job, error) {
   316  	if mock == nil {
   317  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   318  	}
   319  	params := []pegomock.Param{_param0}
   320  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetJob", params, []reflect.Type{reflect.TypeOf((*golang_jenkins.Job)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   321  	var ret0 golang_jenkins.Job
   322  	var ret1 error
   323  	if len(result) != 0 {
   324  		if result[0] != nil {
   325  			ret0 = result[0].(golang_jenkins.Job)
   326  		}
   327  		if result[1] != nil {
   328  			ret1 = result[1].(error)
   329  		}
   330  	}
   331  	return ret0, ret1
   332  }
   333  
   334  func (mock *MockJenkinsClient) GetJobByPath(_param0 ...string) (golang_jenkins.Job, error) {
   335  	if mock == nil {
   336  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   337  	}
   338  	params := []pegomock.Param{}
   339  	for _, param := range _param0 {
   340  		params = append(params, param)
   341  	}
   342  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetJobByPath", params, []reflect.Type{reflect.TypeOf((*golang_jenkins.Job)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   343  	var ret0 golang_jenkins.Job
   344  	var ret1 error
   345  	if len(result) != 0 {
   346  		if result[0] != nil {
   347  			ret0 = result[0].(golang_jenkins.Job)
   348  		}
   349  		if result[1] != nil {
   350  			ret1 = result[1].(error)
   351  		}
   352  	}
   353  	return ret0, ret1
   354  }
   355  
   356  func (mock *MockJenkinsClient) GetJobConfig(_param0 string) (golang_jenkins.JobItem, error) {
   357  	if mock == nil {
   358  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   359  	}
   360  	params := []pegomock.Param{_param0}
   361  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetJobConfig", params, []reflect.Type{reflect.TypeOf((*golang_jenkins.JobItem)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   362  	var ret0 golang_jenkins.JobItem
   363  	var ret1 error
   364  	if len(result) != 0 {
   365  		if result[0] != nil {
   366  			ret0 = result[0].(golang_jenkins.JobItem)
   367  		}
   368  		if result[1] != nil {
   369  			ret1 = result[1].(error)
   370  		}
   371  	}
   372  	return ret0, ret1
   373  }
   374  
   375  func (mock *MockJenkinsClient) GetJobURLPath(_param0 string) string {
   376  	if mock == nil {
   377  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   378  	}
   379  	params := []pegomock.Param{_param0}
   380  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetJobURLPath", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem()})
   381  	var ret0 string
   382  	if len(result) != 0 {
   383  		if result[0] != nil {
   384  			ret0 = result[0].(string)
   385  		}
   386  	}
   387  	return ret0
   388  }
   389  
   390  func (mock *MockJenkinsClient) GetJobs() ([]golang_jenkins.Job, error) {
   391  	if mock == nil {
   392  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   393  	}
   394  	params := []pegomock.Param{}
   395  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetJobs", params, []reflect.Type{reflect.TypeOf((*[]golang_jenkins.Job)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   396  	var ret0 []golang_jenkins.Job
   397  	var ret1 error
   398  	if len(result) != 0 {
   399  		if result[0] != nil {
   400  			ret0 = result[0].([]golang_jenkins.Job)
   401  		}
   402  		if result[1] != nil {
   403  			ret1 = result[1].(error)
   404  		}
   405  	}
   406  	return ret0, ret1
   407  }
   408  
   409  func (mock *MockJenkinsClient) GetLastBuild(_param0 golang_jenkins.Job) (golang_jenkins.Build, error) {
   410  	if mock == nil {
   411  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   412  	}
   413  	params := []pegomock.Param{_param0}
   414  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetLastBuild", params, []reflect.Type{reflect.TypeOf((*golang_jenkins.Build)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   415  	var ret0 golang_jenkins.Build
   416  	var ret1 error
   417  	if len(result) != 0 {
   418  		if result[0] != nil {
   419  			ret0 = result[0].(golang_jenkins.Build)
   420  		}
   421  		if result[1] != nil {
   422  			ret1 = result[1].(error)
   423  		}
   424  	}
   425  	return ret0, ret1
   426  }
   427  
   428  func (mock *MockJenkinsClient) GetLogFromURL(_param0 string, _param1 int64, _param2 *golang_jenkins.LogData) error {
   429  	if mock == nil {
   430  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   431  	}
   432  	params := []pegomock.Param{_param0, _param1, _param2}
   433  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetLogFromURL", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   434  	var ret0 error
   435  	if len(result) != 0 {
   436  		if result[0] != nil {
   437  			ret0 = result[0].(error)
   438  		}
   439  	}
   440  	return ret0
   441  }
   442  
   443  func (mock *MockJenkinsClient) GetMultiBranchJob(_param0 string, _param1 string, _param2 string) (golang_jenkins.Job, error) {
   444  	if mock == nil {
   445  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   446  	}
   447  	params := []pegomock.Param{_param0, _param1, _param2}
   448  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetMultiBranchJob", params, []reflect.Type{reflect.TypeOf((*golang_jenkins.Job)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   449  	var ret0 golang_jenkins.Job
   450  	var ret1 error
   451  	if len(result) != 0 {
   452  		if result[0] != nil {
   453  			ret0 = result[0].(golang_jenkins.Job)
   454  		}
   455  		if result[1] != nil {
   456  			ret1 = result[1].(error)
   457  		}
   458  	}
   459  	return ret0, ret1
   460  }
   461  
   462  func (mock *MockJenkinsClient) GetOrganizationScanResult(_param0 int, _param1 golang_jenkins.Job) (string, error) {
   463  	if mock == nil {
   464  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   465  	}
   466  	params := []pegomock.Param{_param0, _param1}
   467  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetOrganizationScanResult", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   468  	var ret0 string
   469  	var ret1 error
   470  	if len(result) != 0 {
   471  		if result[0] != nil {
   472  			ret0 = result[0].(string)
   473  		}
   474  		if result[1] != nil {
   475  			ret1 = result[1].(error)
   476  		}
   477  	}
   478  	return ret0, ret1
   479  }
   480  
   481  func (mock *MockJenkinsClient) GetQueue() (golang_jenkins.Queue, error) {
   482  	if mock == nil {
   483  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   484  	}
   485  	params := []pegomock.Param{}
   486  	result := pegomock.GetGenericMockFrom(mock).Invoke("GetQueue", params, []reflect.Type{reflect.TypeOf((*golang_jenkins.Queue)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()})
   487  	var ret0 golang_jenkins.Queue
   488  	var ret1 error
   489  	if len(result) != 0 {
   490  		if result[0] != nil {
   491  			ret0 = result[0].(golang_jenkins.Queue)
   492  		}
   493  		if result[1] != nil {
   494  			ret1 = result[1].(error)
   495  		}
   496  	}
   497  	return ret0, ret1
   498  }
   499  
   500  func (mock *MockJenkinsClient) IsErrNotFound(_param0 error) bool {
   501  	if mock == nil {
   502  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   503  	}
   504  	params := []pegomock.Param{_param0}
   505  	result := pegomock.GetGenericMockFrom(mock).Invoke("IsErrNotFound", params, []reflect.Type{reflect.TypeOf((*bool)(nil)).Elem()})
   506  	var ret0 bool
   507  	if len(result) != 0 {
   508  		if result[0] != nil {
   509  			ret0 = result[0].(bool)
   510  		}
   511  	}
   512  	return ret0
   513  }
   514  
   515  func (mock *MockJenkinsClient) NewLogPoller(_param0 string, _param1 io.Writer) *golang_jenkins.LogPoller {
   516  	if mock == nil {
   517  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   518  	}
   519  	params := []pegomock.Param{_param0, _param1}
   520  	result := pegomock.GetGenericMockFrom(mock).Invoke("NewLogPoller", params, []reflect.Type{reflect.TypeOf((**golang_jenkins.LogPoller)(nil)).Elem()})
   521  	var ret0 *golang_jenkins.LogPoller
   522  	if len(result) != 0 {
   523  		if result[0] != nil {
   524  			ret0 = result[0].(*golang_jenkins.LogPoller)
   525  		}
   526  	}
   527  	return ret0
   528  }
   529  
   530  func (mock *MockJenkinsClient) Post(_param0 string, _param1 url.Values, _param2 interface{}) error {
   531  	if mock == nil {
   532  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   533  	}
   534  	params := []pegomock.Param{_param0, _param1, _param2}
   535  	result := pegomock.GetGenericMockFrom(mock).Invoke("Post", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   536  	var ret0 error
   537  	if len(result) != 0 {
   538  		if result[0] != nil {
   539  			ret0 = result[0].(error)
   540  		}
   541  	}
   542  	return ret0
   543  }
   544  
   545  func (mock *MockJenkinsClient) QuietDown() error {
   546  	if mock == nil {
   547  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   548  	}
   549  	params := []pegomock.Param{}
   550  	result := pegomock.GetGenericMockFrom(mock).Invoke("QuietDown", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   551  	var ret0 error
   552  	if len(result) != 0 {
   553  		if result[0] != nil {
   554  			ret0 = result[0].(error)
   555  		}
   556  	}
   557  	return ret0
   558  }
   559  
   560  func (mock *MockJenkinsClient) Reload() error {
   561  	if mock == nil {
   562  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   563  	}
   564  	params := []pegomock.Param{}
   565  	result := pegomock.GetGenericMockFrom(mock).Invoke("Reload", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   566  	var ret0 error
   567  	if len(result) != 0 {
   568  		if result[0] != nil {
   569  			ret0 = result[0].(error)
   570  		}
   571  	}
   572  	return ret0
   573  }
   574  
   575  func (mock *MockJenkinsClient) RemoveJob(_param0 string) error {
   576  	if mock == nil {
   577  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   578  	}
   579  	params := []pegomock.Param{_param0}
   580  	result := pegomock.GetGenericMockFrom(mock).Invoke("RemoveJob", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   581  	var ret0 error
   582  	if len(result) != 0 {
   583  		if result[0] != nil {
   584  			ret0 = result[0].(error)
   585  		}
   586  	}
   587  	return ret0
   588  }
   589  
   590  func (mock *MockJenkinsClient) Restart() error {
   591  	if mock == nil {
   592  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   593  	}
   594  	params := []pegomock.Param{}
   595  	result := pegomock.GetGenericMockFrom(mock).Invoke("Restart", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   596  	var ret0 error
   597  	if len(result) != 0 {
   598  		if result[0] != nil {
   599  			ret0 = result[0].(error)
   600  		}
   601  	}
   602  	return ret0
   603  }
   604  
   605  func (mock *MockJenkinsClient) SafeRestart() error {
   606  	if mock == nil {
   607  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   608  	}
   609  	params := []pegomock.Param{}
   610  	result := pegomock.GetGenericMockFrom(mock).Invoke("SafeRestart", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   611  	var ret0 error
   612  	if len(result) != 0 {
   613  		if result[0] != nil {
   614  			ret0 = result[0].(error)
   615  		}
   616  	}
   617  	return ret0
   618  }
   619  
   620  func (mock *MockJenkinsClient) SetBuildDescription(_param0 golang_jenkins.Build, _param1 string) error {
   621  	if mock == nil {
   622  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   623  	}
   624  	params := []pegomock.Param{_param0, _param1}
   625  	result := pegomock.GetGenericMockFrom(mock).Invoke("SetBuildDescription", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   626  	var ret0 error
   627  	if len(result) != 0 {
   628  		if result[0] != nil {
   629  			ret0 = result[0].(error)
   630  		}
   631  	}
   632  	return ret0
   633  }
   634  
   635  func (mock *MockJenkinsClient) SetHTTPClient(_param0 *http.Client) {
   636  	if mock == nil {
   637  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   638  	}
   639  	params := []pegomock.Param{_param0}
   640  	pegomock.GetGenericMockFrom(mock).Invoke("SetHTTPClient", params, []reflect.Type{})
   641  }
   642  
   643  func (mock *MockJenkinsClient) StopBuild(_param0 golang_jenkins.Job, _param1 int) error {
   644  	if mock == nil {
   645  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   646  	}
   647  	params := []pegomock.Param{_param0, _param1}
   648  	result := pegomock.GetGenericMockFrom(mock).Invoke("StopBuild", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   649  	var ret0 error
   650  	if len(result) != 0 {
   651  		if result[0] != nil {
   652  			ret0 = result[0].(error)
   653  		}
   654  	}
   655  	return ret0
   656  }
   657  
   658  func (mock *MockJenkinsClient) TailLog(_param0 string, _param1 io.Writer, _param2 time.Duration, _param3 time.Duration) error {
   659  	if mock == nil {
   660  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   661  	}
   662  	params := []pegomock.Param{_param0, _param1, _param2, _param3}
   663  	result := pegomock.GetGenericMockFrom(mock).Invoke("TailLog", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   664  	var ret0 error
   665  	if len(result) != 0 {
   666  		if result[0] != nil {
   667  			ret0 = result[0].(error)
   668  		}
   669  	}
   670  	return ret0
   671  }
   672  
   673  func (mock *MockJenkinsClient) TailLogFunc(_param0 string, _param1 io.Writer) golang_jenkins.ConditionFunc {
   674  	if mock == nil {
   675  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   676  	}
   677  	params := []pegomock.Param{_param0, _param1}
   678  	result := pegomock.GetGenericMockFrom(mock).Invoke("TailLogFunc", params, []reflect.Type{reflect.TypeOf((*golang_jenkins.ConditionFunc)(nil)).Elem()})
   679  	var ret0 golang_jenkins.ConditionFunc
   680  	if len(result) != 0 {
   681  		if result[0] != nil {
   682  			ret0 = result[0].(golang_jenkins.ConditionFunc)
   683  		}
   684  	}
   685  	return ret0
   686  }
   687  
   688  func (mock *MockJenkinsClient) UpdateJob(_param0 golang_jenkins.JobItem, _param1 string) error {
   689  	if mock == nil {
   690  		panic("mock must not be nil. Use myMock := NewMockJenkinsClient().")
   691  	}
   692  	params := []pegomock.Param{_param0, _param1}
   693  	result := pegomock.GetGenericMockFrom(mock).Invoke("UpdateJob", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()})
   694  	var ret0 error
   695  	if len(result) != 0 {
   696  		if result[0] != nil {
   697  			ret0 = result[0].(error)
   698  		}
   699  	}
   700  	return ret0
   701  }
   702  
   703  func (mock *MockJenkinsClient) VerifyWasCalledOnce() *VerifierMockJenkinsClient {
   704  	return &VerifierMockJenkinsClient{
   705  		mock:                   mock,
   706  		invocationCountMatcher: pegomock.Times(1),
   707  	}
   708  }
   709  
   710  func (mock *MockJenkinsClient) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockJenkinsClient {
   711  	return &VerifierMockJenkinsClient{
   712  		mock:                   mock,
   713  		invocationCountMatcher: invocationCountMatcher,
   714  	}
   715  }
   716  
   717  func (mock *MockJenkinsClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockJenkinsClient {
   718  	return &VerifierMockJenkinsClient{
   719  		mock:                   mock,
   720  		invocationCountMatcher: invocationCountMatcher,
   721  		inOrderContext:         inOrderContext,
   722  	}
   723  }
   724  
   725  func (mock *MockJenkinsClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockJenkinsClient {
   726  	return &VerifierMockJenkinsClient{
   727  		mock:                   mock,
   728  		invocationCountMatcher: invocationCountMatcher,
   729  		timeout:                timeout,
   730  	}
   731  }
   732  
   733  type VerifierMockJenkinsClient struct {
   734  	mock                   *MockJenkinsClient
   735  	invocationCountMatcher pegomock.Matcher
   736  	inOrderContext         *pegomock.InOrderContext
   737  	timeout                time.Duration
   738  }
   739  
   740  func (verifier *VerifierMockJenkinsClient) AddJobToView(_param0 string, _param1 golang_jenkins.Job) *MockJenkinsClient_AddJobToView_OngoingVerification {
   741  	params := []pegomock.Param{_param0, _param1}
   742  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "AddJobToView", params, verifier.timeout)
   743  	return &MockJenkinsClient_AddJobToView_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
   744  }
   745  
   746  type MockJenkinsClient_AddJobToView_OngoingVerification struct {
   747  	mock              *MockJenkinsClient
   748  	methodInvocations []pegomock.MethodInvocation
   749  }
   750  
   751  func (c *MockJenkinsClient_AddJobToView_OngoingVerification) GetCapturedArguments() (string, golang_jenkins.Job) {
   752  	_param0, _param1 := c.GetAllCapturedArguments()
   753  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
   754  }
   755  
   756  func (c *MockJenkinsClient_AddJobToView_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []golang_jenkins.Job) {
   757  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
   758  	if len(params) > 0 {
   759  		_param0 = make([]string, len(params[0]))
   760  		for u, param := range params[0] {
   761  			_param0[u] = param.(string)
   762  		}
   763  		_param1 = make([]golang_jenkins.Job, len(params[1]))
   764  		for u, param := range params[1] {
   765  			_param1[u] = param.(golang_jenkins.Job)
   766  		}
   767  	}
   768  	return
   769  }
   770  
   771  func (verifier *VerifierMockJenkinsClient) BaseURL() *MockJenkinsClient_BaseURL_OngoingVerification {
   772  	params := []pegomock.Param{}
   773  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "BaseURL", params, verifier.timeout)
   774  	return &MockJenkinsClient_BaseURL_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
   775  }
   776  
   777  type MockJenkinsClient_BaseURL_OngoingVerification struct {
   778  	mock              *MockJenkinsClient
   779  	methodInvocations []pegomock.MethodInvocation
   780  }
   781  
   782  func (c *MockJenkinsClient_BaseURL_OngoingVerification) GetCapturedArguments() {
   783  }
   784  
   785  func (c *MockJenkinsClient_BaseURL_OngoingVerification) GetAllCapturedArguments() {
   786  }
   787  
   788  func (verifier *VerifierMockJenkinsClient) Build(_param0 golang_jenkins.Job, _param1 url.Values) *MockJenkinsClient_Build_OngoingVerification {
   789  	params := []pegomock.Param{_param0, _param1}
   790  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Build", params, verifier.timeout)
   791  	return &MockJenkinsClient_Build_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
   792  }
   793  
   794  type MockJenkinsClient_Build_OngoingVerification struct {
   795  	mock              *MockJenkinsClient
   796  	methodInvocations []pegomock.MethodInvocation
   797  }
   798  
   799  func (c *MockJenkinsClient_Build_OngoingVerification) GetCapturedArguments() (golang_jenkins.Job, url.Values) {
   800  	_param0, _param1 := c.GetAllCapturedArguments()
   801  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
   802  }
   803  
   804  func (c *MockJenkinsClient_Build_OngoingVerification) GetAllCapturedArguments() (_param0 []golang_jenkins.Job, _param1 []url.Values) {
   805  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
   806  	if len(params) > 0 {
   807  		_param0 = make([]golang_jenkins.Job, len(params[0]))
   808  		for u, param := range params[0] {
   809  			_param0[u] = param.(golang_jenkins.Job)
   810  		}
   811  		_param1 = make([]url.Values, len(params[1]))
   812  		for u, param := range params[1] {
   813  			_param1[u] = param.(url.Values)
   814  		}
   815  	}
   816  	return
   817  }
   818  
   819  func (verifier *VerifierMockJenkinsClient) CreateCredential(_param0 string, _param1 string, _param2 string) *MockJenkinsClient_CreateCredential_OngoingVerification {
   820  	params := []pegomock.Param{_param0, _param1, _param2}
   821  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateCredential", params, verifier.timeout)
   822  	return &MockJenkinsClient_CreateCredential_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
   823  }
   824  
   825  type MockJenkinsClient_CreateCredential_OngoingVerification struct {
   826  	mock              *MockJenkinsClient
   827  	methodInvocations []pegomock.MethodInvocation
   828  }
   829  
   830  func (c *MockJenkinsClient_CreateCredential_OngoingVerification) GetCapturedArguments() (string, string, string) {
   831  	_param0, _param1, _param2 := c.GetAllCapturedArguments()
   832  	return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1]
   833  }
   834  
   835  func (c *MockJenkinsClient_CreateCredential_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) {
   836  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
   837  	if len(params) > 0 {
   838  		_param0 = make([]string, len(params[0]))
   839  		for u, param := range params[0] {
   840  			_param0[u] = param.(string)
   841  		}
   842  		_param1 = make([]string, len(params[1]))
   843  		for u, param := range params[1] {
   844  			_param1[u] = param.(string)
   845  		}
   846  		_param2 = make([]string, len(params[2]))
   847  		for u, param := range params[2] {
   848  			_param2[u] = param.(string)
   849  		}
   850  	}
   851  	return
   852  }
   853  
   854  func (verifier *VerifierMockJenkinsClient) CreateFolderJobWithXML(_param0 string, _param1 string, _param2 string) *MockJenkinsClient_CreateFolderJobWithXML_OngoingVerification {
   855  	params := []pegomock.Param{_param0, _param1, _param2}
   856  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateFolderJobWithXML", params, verifier.timeout)
   857  	return &MockJenkinsClient_CreateFolderJobWithXML_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
   858  }
   859  
   860  type MockJenkinsClient_CreateFolderJobWithXML_OngoingVerification struct {
   861  	mock              *MockJenkinsClient
   862  	methodInvocations []pegomock.MethodInvocation
   863  }
   864  
   865  func (c *MockJenkinsClient_CreateFolderJobWithXML_OngoingVerification) GetCapturedArguments() (string, string, string) {
   866  	_param0, _param1, _param2 := c.GetAllCapturedArguments()
   867  	return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1]
   868  }
   869  
   870  func (c *MockJenkinsClient_CreateFolderJobWithXML_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) {
   871  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
   872  	if len(params) > 0 {
   873  		_param0 = make([]string, len(params[0]))
   874  		for u, param := range params[0] {
   875  			_param0[u] = param.(string)
   876  		}
   877  		_param1 = make([]string, len(params[1]))
   878  		for u, param := range params[1] {
   879  			_param1[u] = param.(string)
   880  		}
   881  		_param2 = make([]string, len(params[2]))
   882  		for u, param := range params[2] {
   883  			_param2[u] = param.(string)
   884  		}
   885  	}
   886  	return
   887  }
   888  
   889  func (verifier *VerifierMockJenkinsClient) CreateJob(_param0 golang_jenkins.JobItem, _param1 string) *MockJenkinsClient_CreateJob_OngoingVerification {
   890  	params := []pegomock.Param{_param0, _param1}
   891  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateJob", params, verifier.timeout)
   892  	return &MockJenkinsClient_CreateJob_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
   893  }
   894  
   895  type MockJenkinsClient_CreateJob_OngoingVerification struct {
   896  	mock              *MockJenkinsClient
   897  	methodInvocations []pegomock.MethodInvocation
   898  }
   899  
   900  func (c *MockJenkinsClient_CreateJob_OngoingVerification) GetCapturedArguments() (golang_jenkins.JobItem, string) {
   901  	_param0, _param1 := c.GetAllCapturedArguments()
   902  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
   903  }
   904  
   905  func (c *MockJenkinsClient_CreateJob_OngoingVerification) GetAllCapturedArguments() (_param0 []golang_jenkins.JobItem, _param1 []string) {
   906  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
   907  	if len(params) > 0 {
   908  		_param0 = make([]golang_jenkins.JobItem, len(params[0]))
   909  		for u, param := range params[0] {
   910  			_param0[u] = param.(golang_jenkins.JobItem)
   911  		}
   912  		_param1 = make([]string, len(params[1]))
   913  		for u, param := range params[1] {
   914  			_param1[u] = param.(string)
   915  		}
   916  	}
   917  	return
   918  }
   919  
   920  func (verifier *VerifierMockJenkinsClient) CreateJobWithXML(_param0 string, _param1 string) *MockJenkinsClient_CreateJobWithXML_OngoingVerification {
   921  	params := []pegomock.Param{_param0, _param1}
   922  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateJobWithXML", params, verifier.timeout)
   923  	return &MockJenkinsClient_CreateJobWithXML_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
   924  }
   925  
   926  type MockJenkinsClient_CreateJobWithXML_OngoingVerification struct {
   927  	mock              *MockJenkinsClient
   928  	methodInvocations []pegomock.MethodInvocation
   929  }
   930  
   931  func (c *MockJenkinsClient_CreateJobWithXML_OngoingVerification) GetCapturedArguments() (string, string) {
   932  	_param0, _param1 := c.GetAllCapturedArguments()
   933  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
   934  }
   935  
   936  func (c *MockJenkinsClient_CreateJobWithXML_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) {
   937  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
   938  	if len(params) > 0 {
   939  		_param0 = make([]string, len(params[0]))
   940  		for u, param := range params[0] {
   941  			_param0[u] = param.(string)
   942  		}
   943  		_param1 = make([]string, len(params[1]))
   944  		for u, param := range params[1] {
   945  			_param1[u] = param.(string)
   946  		}
   947  	}
   948  	return
   949  }
   950  
   951  func (verifier *VerifierMockJenkinsClient) CreateView(_param0 golang_jenkins.ListView) *MockJenkinsClient_CreateView_OngoingVerification {
   952  	params := []pegomock.Param{_param0}
   953  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateView", params, verifier.timeout)
   954  	return &MockJenkinsClient_CreateView_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
   955  }
   956  
   957  type MockJenkinsClient_CreateView_OngoingVerification struct {
   958  	mock              *MockJenkinsClient
   959  	methodInvocations []pegomock.MethodInvocation
   960  }
   961  
   962  func (c *MockJenkinsClient_CreateView_OngoingVerification) GetCapturedArguments() golang_jenkins.ListView {
   963  	_param0 := c.GetAllCapturedArguments()
   964  	return _param0[len(_param0)-1]
   965  }
   966  
   967  func (c *MockJenkinsClient_CreateView_OngoingVerification) GetAllCapturedArguments() (_param0 []golang_jenkins.ListView) {
   968  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
   969  	if len(params) > 0 {
   970  		_param0 = make([]golang_jenkins.ListView, len(params[0]))
   971  		for u, param := range params[0] {
   972  			_param0[u] = param.(golang_jenkins.ListView)
   973  		}
   974  	}
   975  	return
   976  }
   977  
   978  func (verifier *VerifierMockJenkinsClient) DeleteJob(_param0 golang_jenkins.Job) *MockJenkinsClient_DeleteJob_OngoingVerification {
   979  	params := []pegomock.Param{_param0}
   980  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "DeleteJob", params, verifier.timeout)
   981  	return &MockJenkinsClient_DeleteJob_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
   982  }
   983  
   984  type MockJenkinsClient_DeleteJob_OngoingVerification struct {
   985  	mock              *MockJenkinsClient
   986  	methodInvocations []pegomock.MethodInvocation
   987  }
   988  
   989  func (c *MockJenkinsClient_DeleteJob_OngoingVerification) GetCapturedArguments() golang_jenkins.Job {
   990  	_param0 := c.GetAllCapturedArguments()
   991  	return _param0[len(_param0)-1]
   992  }
   993  
   994  func (c *MockJenkinsClient_DeleteJob_OngoingVerification) GetAllCapturedArguments() (_param0 []golang_jenkins.Job) {
   995  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
   996  	if len(params) > 0 {
   997  		_param0 = make([]golang_jenkins.Job, len(params[0]))
   998  		for u, param := range params[0] {
   999  			_param0[u] = param.(golang_jenkins.Job)
  1000  		}
  1001  	}
  1002  	return
  1003  }
  1004  
  1005  func (verifier *VerifierMockJenkinsClient) GetArtifact(_param0 golang_jenkins.Build, _param1 golang_jenkins.Artifact) *MockJenkinsClient_GetArtifact_OngoingVerification {
  1006  	params := []pegomock.Param{_param0, _param1}
  1007  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetArtifact", params, verifier.timeout)
  1008  	return &MockJenkinsClient_GetArtifact_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1009  }
  1010  
  1011  type MockJenkinsClient_GetArtifact_OngoingVerification struct {
  1012  	mock              *MockJenkinsClient
  1013  	methodInvocations []pegomock.MethodInvocation
  1014  }
  1015  
  1016  func (c *MockJenkinsClient_GetArtifact_OngoingVerification) GetCapturedArguments() (golang_jenkins.Build, golang_jenkins.Artifact) {
  1017  	_param0, _param1 := c.GetAllCapturedArguments()
  1018  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
  1019  }
  1020  
  1021  func (c *MockJenkinsClient_GetArtifact_OngoingVerification) GetAllCapturedArguments() (_param0 []golang_jenkins.Build, _param1 []golang_jenkins.Artifact) {
  1022  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1023  	if len(params) > 0 {
  1024  		_param0 = make([]golang_jenkins.Build, len(params[0]))
  1025  		for u, param := range params[0] {
  1026  			_param0[u] = param.(golang_jenkins.Build)
  1027  		}
  1028  		_param1 = make([]golang_jenkins.Artifact, len(params[1]))
  1029  		for u, param := range params[1] {
  1030  			_param1[u] = param.(golang_jenkins.Artifact)
  1031  		}
  1032  	}
  1033  	return
  1034  }
  1035  
  1036  func (verifier *VerifierMockJenkinsClient) GetBuild(_param0 golang_jenkins.Job, _param1 int) *MockJenkinsClient_GetBuild_OngoingVerification {
  1037  	params := []pegomock.Param{_param0, _param1}
  1038  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetBuild", params, verifier.timeout)
  1039  	return &MockJenkinsClient_GetBuild_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1040  }
  1041  
  1042  type MockJenkinsClient_GetBuild_OngoingVerification struct {
  1043  	mock              *MockJenkinsClient
  1044  	methodInvocations []pegomock.MethodInvocation
  1045  }
  1046  
  1047  func (c *MockJenkinsClient_GetBuild_OngoingVerification) GetCapturedArguments() (golang_jenkins.Job, int) {
  1048  	_param0, _param1 := c.GetAllCapturedArguments()
  1049  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
  1050  }
  1051  
  1052  func (c *MockJenkinsClient_GetBuild_OngoingVerification) GetAllCapturedArguments() (_param0 []golang_jenkins.Job, _param1 []int) {
  1053  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1054  	if len(params) > 0 {
  1055  		_param0 = make([]golang_jenkins.Job, len(params[0]))
  1056  		for u, param := range params[0] {
  1057  			_param0[u] = param.(golang_jenkins.Job)
  1058  		}
  1059  		_param1 = make([]int, len(params[1]))
  1060  		for u, param := range params[1] {
  1061  			_param1[u] = param.(int)
  1062  		}
  1063  	}
  1064  	return
  1065  }
  1066  
  1067  func (verifier *VerifierMockJenkinsClient) GetBuildConsoleOutput(_param0 golang_jenkins.Build) *MockJenkinsClient_GetBuildConsoleOutput_OngoingVerification {
  1068  	params := []pegomock.Param{_param0}
  1069  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetBuildConsoleOutput", params, verifier.timeout)
  1070  	return &MockJenkinsClient_GetBuildConsoleOutput_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1071  }
  1072  
  1073  type MockJenkinsClient_GetBuildConsoleOutput_OngoingVerification struct {
  1074  	mock              *MockJenkinsClient
  1075  	methodInvocations []pegomock.MethodInvocation
  1076  }
  1077  
  1078  func (c *MockJenkinsClient_GetBuildConsoleOutput_OngoingVerification) GetCapturedArguments() golang_jenkins.Build {
  1079  	_param0 := c.GetAllCapturedArguments()
  1080  	return _param0[len(_param0)-1]
  1081  }
  1082  
  1083  func (c *MockJenkinsClient_GetBuildConsoleOutput_OngoingVerification) GetAllCapturedArguments() (_param0 []golang_jenkins.Build) {
  1084  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1085  	if len(params) > 0 {
  1086  		_param0 = make([]golang_jenkins.Build, len(params[0]))
  1087  		for u, param := range params[0] {
  1088  			_param0[u] = param.(golang_jenkins.Build)
  1089  		}
  1090  	}
  1091  	return
  1092  }
  1093  
  1094  func (verifier *VerifierMockJenkinsClient) GetBuildURL(_param0 golang_jenkins.Job, _param1 int) *MockJenkinsClient_GetBuildURL_OngoingVerification {
  1095  	params := []pegomock.Param{_param0, _param1}
  1096  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetBuildURL", params, verifier.timeout)
  1097  	return &MockJenkinsClient_GetBuildURL_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1098  }
  1099  
  1100  type MockJenkinsClient_GetBuildURL_OngoingVerification struct {
  1101  	mock              *MockJenkinsClient
  1102  	methodInvocations []pegomock.MethodInvocation
  1103  }
  1104  
  1105  func (c *MockJenkinsClient_GetBuildURL_OngoingVerification) GetCapturedArguments() (golang_jenkins.Job, int) {
  1106  	_param0, _param1 := c.GetAllCapturedArguments()
  1107  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
  1108  }
  1109  
  1110  func (c *MockJenkinsClient_GetBuildURL_OngoingVerification) GetAllCapturedArguments() (_param0 []golang_jenkins.Job, _param1 []int) {
  1111  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1112  	if len(params) > 0 {
  1113  		_param0 = make([]golang_jenkins.Job, len(params[0]))
  1114  		for u, param := range params[0] {
  1115  			_param0[u] = param.(golang_jenkins.Job)
  1116  		}
  1117  		_param1 = make([]int, len(params[1]))
  1118  		for u, param := range params[1] {
  1119  			_param1[u] = param.(int)
  1120  		}
  1121  	}
  1122  	return
  1123  }
  1124  
  1125  func (verifier *VerifierMockJenkinsClient) GetComputer(_param0 string) *MockJenkinsClient_GetComputer_OngoingVerification {
  1126  	params := []pegomock.Param{_param0}
  1127  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetComputer", params, verifier.timeout)
  1128  	return &MockJenkinsClient_GetComputer_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1129  }
  1130  
  1131  type MockJenkinsClient_GetComputer_OngoingVerification struct {
  1132  	mock              *MockJenkinsClient
  1133  	methodInvocations []pegomock.MethodInvocation
  1134  }
  1135  
  1136  func (c *MockJenkinsClient_GetComputer_OngoingVerification) GetCapturedArguments() string {
  1137  	_param0 := c.GetAllCapturedArguments()
  1138  	return _param0[len(_param0)-1]
  1139  }
  1140  
  1141  func (c *MockJenkinsClient_GetComputer_OngoingVerification) GetAllCapturedArguments() (_param0 []string) {
  1142  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1143  	if len(params) > 0 {
  1144  		_param0 = make([]string, len(params[0]))
  1145  		for u, param := range params[0] {
  1146  			_param0[u] = param.(string)
  1147  		}
  1148  	}
  1149  	return
  1150  }
  1151  
  1152  func (verifier *VerifierMockJenkinsClient) GetComputerObject() *MockJenkinsClient_GetComputerObject_OngoingVerification {
  1153  	params := []pegomock.Param{}
  1154  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetComputerObject", params, verifier.timeout)
  1155  	return &MockJenkinsClient_GetComputerObject_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1156  }
  1157  
  1158  type MockJenkinsClient_GetComputerObject_OngoingVerification struct {
  1159  	mock              *MockJenkinsClient
  1160  	methodInvocations []pegomock.MethodInvocation
  1161  }
  1162  
  1163  func (c *MockJenkinsClient_GetComputerObject_OngoingVerification) GetCapturedArguments() {
  1164  }
  1165  
  1166  func (c *MockJenkinsClient_GetComputerObject_OngoingVerification) GetAllCapturedArguments() {
  1167  }
  1168  
  1169  func (verifier *VerifierMockJenkinsClient) GetComputers() *MockJenkinsClient_GetComputers_OngoingVerification {
  1170  	params := []pegomock.Param{}
  1171  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetComputers", params, verifier.timeout)
  1172  	return &MockJenkinsClient_GetComputers_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1173  }
  1174  
  1175  type MockJenkinsClient_GetComputers_OngoingVerification struct {
  1176  	mock              *MockJenkinsClient
  1177  	methodInvocations []pegomock.MethodInvocation
  1178  }
  1179  
  1180  func (c *MockJenkinsClient_GetComputers_OngoingVerification) GetCapturedArguments() {
  1181  }
  1182  
  1183  func (c *MockJenkinsClient_GetComputers_OngoingVerification) GetAllCapturedArguments() {
  1184  }
  1185  
  1186  func (verifier *VerifierMockJenkinsClient) GetCredential(_param0 string) *MockJenkinsClient_GetCredential_OngoingVerification {
  1187  	params := []pegomock.Param{_param0}
  1188  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetCredential", params, verifier.timeout)
  1189  	return &MockJenkinsClient_GetCredential_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1190  }
  1191  
  1192  type MockJenkinsClient_GetCredential_OngoingVerification struct {
  1193  	mock              *MockJenkinsClient
  1194  	methodInvocations []pegomock.MethodInvocation
  1195  }
  1196  
  1197  func (c *MockJenkinsClient_GetCredential_OngoingVerification) GetCapturedArguments() string {
  1198  	_param0 := c.GetAllCapturedArguments()
  1199  	return _param0[len(_param0)-1]
  1200  }
  1201  
  1202  func (c *MockJenkinsClient_GetCredential_OngoingVerification) GetAllCapturedArguments() (_param0 []string) {
  1203  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1204  	if len(params) > 0 {
  1205  		_param0 = make([]string, len(params[0]))
  1206  		for u, param := range params[0] {
  1207  			_param0[u] = param.(string)
  1208  		}
  1209  	}
  1210  	return
  1211  }
  1212  
  1213  func (verifier *VerifierMockJenkinsClient) GetJob(_param0 string) *MockJenkinsClient_GetJob_OngoingVerification {
  1214  	params := []pegomock.Param{_param0}
  1215  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetJob", params, verifier.timeout)
  1216  	return &MockJenkinsClient_GetJob_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1217  }
  1218  
  1219  type MockJenkinsClient_GetJob_OngoingVerification struct {
  1220  	mock              *MockJenkinsClient
  1221  	methodInvocations []pegomock.MethodInvocation
  1222  }
  1223  
  1224  func (c *MockJenkinsClient_GetJob_OngoingVerification) GetCapturedArguments() string {
  1225  	_param0 := c.GetAllCapturedArguments()
  1226  	return _param0[len(_param0)-1]
  1227  }
  1228  
  1229  func (c *MockJenkinsClient_GetJob_OngoingVerification) GetAllCapturedArguments() (_param0 []string) {
  1230  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1231  	if len(params) > 0 {
  1232  		_param0 = make([]string, len(params[0]))
  1233  		for u, param := range params[0] {
  1234  			_param0[u] = param.(string)
  1235  		}
  1236  	}
  1237  	return
  1238  }
  1239  
  1240  func (verifier *VerifierMockJenkinsClient) GetJobByPath(_param0 ...string) *MockJenkinsClient_GetJobByPath_OngoingVerification {
  1241  	params := []pegomock.Param{}
  1242  	for _, param := range _param0 {
  1243  		params = append(params, param)
  1244  	}
  1245  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetJobByPath", params, verifier.timeout)
  1246  	return &MockJenkinsClient_GetJobByPath_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1247  }
  1248  
  1249  type MockJenkinsClient_GetJobByPath_OngoingVerification struct {
  1250  	mock              *MockJenkinsClient
  1251  	methodInvocations []pegomock.MethodInvocation
  1252  }
  1253  
  1254  func (c *MockJenkinsClient_GetJobByPath_OngoingVerification) GetCapturedArguments() []string {
  1255  	_param0 := c.GetAllCapturedArguments()
  1256  	return _param0[len(_param0)-1]
  1257  }
  1258  
  1259  func (c *MockJenkinsClient_GetJobByPath_OngoingVerification) GetAllCapturedArguments() (_param0 [][]string) {
  1260  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1261  	if len(params) > 0 {
  1262  		_param0 = make([][]string, len(params[0]))
  1263  		for u := range params[0] {
  1264  			_param0[u] = make([]string, len(params)-0)
  1265  			for x := 0; x < len(params); x++ {
  1266  				if params[x][u] != nil {
  1267  					_param0[u][x-0] = params[x][u].(string)
  1268  				}
  1269  			}
  1270  		}
  1271  	}
  1272  	return
  1273  }
  1274  
  1275  func (verifier *VerifierMockJenkinsClient) GetJobConfig(_param0 string) *MockJenkinsClient_GetJobConfig_OngoingVerification {
  1276  	params := []pegomock.Param{_param0}
  1277  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetJobConfig", params, verifier.timeout)
  1278  	return &MockJenkinsClient_GetJobConfig_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1279  }
  1280  
  1281  type MockJenkinsClient_GetJobConfig_OngoingVerification struct {
  1282  	mock              *MockJenkinsClient
  1283  	methodInvocations []pegomock.MethodInvocation
  1284  }
  1285  
  1286  func (c *MockJenkinsClient_GetJobConfig_OngoingVerification) GetCapturedArguments() string {
  1287  	_param0 := c.GetAllCapturedArguments()
  1288  	return _param0[len(_param0)-1]
  1289  }
  1290  
  1291  func (c *MockJenkinsClient_GetJobConfig_OngoingVerification) GetAllCapturedArguments() (_param0 []string) {
  1292  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1293  	if len(params) > 0 {
  1294  		_param0 = make([]string, len(params[0]))
  1295  		for u, param := range params[0] {
  1296  			_param0[u] = param.(string)
  1297  		}
  1298  	}
  1299  	return
  1300  }
  1301  
  1302  func (verifier *VerifierMockJenkinsClient) GetJobURLPath(_param0 string) *MockJenkinsClient_GetJobURLPath_OngoingVerification {
  1303  	params := []pegomock.Param{_param0}
  1304  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetJobURLPath", params, verifier.timeout)
  1305  	return &MockJenkinsClient_GetJobURLPath_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1306  }
  1307  
  1308  type MockJenkinsClient_GetJobURLPath_OngoingVerification struct {
  1309  	mock              *MockJenkinsClient
  1310  	methodInvocations []pegomock.MethodInvocation
  1311  }
  1312  
  1313  func (c *MockJenkinsClient_GetJobURLPath_OngoingVerification) GetCapturedArguments() string {
  1314  	_param0 := c.GetAllCapturedArguments()
  1315  	return _param0[len(_param0)-1]
  1316  }
  1317  
  1318  func (c *MockJenkinsClient_GetJobURLPath_OngoingVerification) GetAllCapturedArguments() (_param0 []string) {
  1319  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1320  	if len(params) > 0 {
  1321  		_param0 = make([]string, len(params[0]))
  1322  		for u, param := range params[0] {
  1323  			_param0[u] = param.(string)
  1324  		}
  1325  	}
  1326  	return
  1327  }
  1328  
  1329  func (verifier *VerifierMockJenkinsClient) GetJobs() *MockJenkinsClient_GetJobs_OngoingVerification {
  1330  	params := []pegomock.Param{}
  1331  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetJobs", params, verifier.timeout)
  1332  	return &MockJenkinsClient_GetJobs_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1333  }
  1334  
  1335  type MockJenkinsClient_GetJobs_OngoingVerification struct {
  1336  	mock              *MockJenkinsClient
  1337  	methodInvocations []pegomock.MethodInvocation
  1338  }
  1339  
  1340  func (c *MockJenkinsClient_GetJobs_OngoingVerification) GetCapturedArguments() {
  1341  }
  1342  
  1343  func (c *MockJenkinsClient_GetJobs_OngoingVerification) GetAllCapturedArguments() {
  1344  }
  1345  
  1346  func (verifier *VerifierMockJenkinsClient) GetLastBuild(_param0 golang_jenkins.Job) *MockJenkinsClient_GetLastBuild_OngoingVerification {
  1347  	params := []pegomock.Param{_param0}
  1348  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetLastBuild", params, verifier.timeout)
  1349  	return &MockJenkinsClient_GetLastBuild_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1350  }
  1351  
  1352  type MockJenkinsClient_GetLastBuild_OngoingVerification struct {
  1353  	mock              *MockJenkinsClient
  1354  	methodInvocations []pegomock.MethodInvocation
  1355  }
  1356  
  1357  func (c *MockJenkinsClient_GetLastBuild_OngoingVerification) GetCapturedArguments() golang_jenkins.Job {
  1358  	_param0 := c.GetAllCapturedArguments()
  1359  	return _param0[len(_param0)-1]
  1360  }
  1361  
  1362  func (c *MockJenkinsClient_GetLastBuild_OngoingVerification) GetAllCapturedArguments() (_param0 []golang_jenkins.Job) {
  1363  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1364  	if len(params) > 0 {
  1365  		_param0 = make([]golang_jenkins.Job, len(params[0]))
  1366  		for u, param := range params[0] {
  1367  			_param0[u] = param.(golang_jenkins.Job)
  1368  		}
  1369  	}
  1370  	return
  1371  }
  1372  
  1373  func (verifier *VerifierMockJenkinsClient) GetLogFromURL(_param0 string, _param1 int64, _param2 *golang_jenkins.LogData) *MockJenkinsClient_GetLogFromURL_OngoingVerification {
  1374  	params := []pegomock.Param{_param0, _param1, _param2}
  1375  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetLogFromURL", params, verifier.timeout)
  1376  	return &MockJenkinsClient_GetLogFromURL_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1377  }
  1378  
  1379  type MockJenkinsClient_GetLogFromURL_OngoingVerification struct {
  1380  	mock              *MockJenkinsClient
  1381  	methodInvocations []pegomock.MethodInvocation
  1382  }
  1383  
  1384  func (c *MockJenkinsClient_GetLogFromURL_OngoingVerification) GetCapturedArguments() (string, int64, *golang_jenkins.LogData) {
  1385  	_param0, _param1, _param2 := c.GetAllCapturedArguments()
  1386  	return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1]
  1387  }
  1388  
  1389  func (c *MockJenkinsClient_GetLogFromURL_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []int64, _param2 []*golang_jenkins.LogData) {
  1390  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1391  	if len(params) > 0 {
  1392  		_param0 = make([]string, len(params[0]))
  1393  		for u, param := range params[0] {
  1394  			_param0[u] = param.(string)
  1395  		}
  1396  		_param1 = make([]int64, len(params[1]))
  1397  		for u, param := range params[1] {
  1398  			_param1[u] = param.(int64)
  1399  		}
  1400  		_param2 = make([]*golang_jenkins.LogData, len(params[2]))
  1401  		for u, param := range params[2] {
  1402  			_param2[u] = param.(*golang_jenkins.LogData)
  1403  		}
  1404  	}
  1405  	return
  1406  }
  1407  
  1408  func (verifier *VerifierMockJenkinsClient) GetMultiBranchJob(_param0 string, _param1 string, _param2 string) *MockJenkinsClient_GetMultiBranchJob_OngoingVerification {
  1409  	params := []pegomock.Param{_param0, _param1, _param2}
  1410  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetMultiBranchJob", params, verifier.timeout)
  1411  	return &MockJenkinsClient_GetMultiBranchJob_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1412  }
  1413  
  1414  type MockJenkinsClient_GetMultiBranchJob_OngoingVerification struct {
  1415  	mock              *MockJenkinsClient
  1416  	methodInvocations []pegomock.MethodInvocation
  1417  }
  1418  
  1419  func (c *MockJenkinsClient_GetMultiBranchJob_OngoingVerification) GetCapturedArguments() (string, string, string) {
  1420  	_param0, _param1, _param2 := c.GetAllCapturedArguments()
  1421  	return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1]
  1422  }
  1423  
  1424  func (c *MockJenkinsClient_GetMultiBranchJob_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) {
  1425  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1426  	if len(params) > 0 {
  1427  		_param0 = make([]string, len(params[0]))
  1428  		for u, param := range params[0] {
  1429  			_param0[u] = param.(string)
  1430  		}
  1431  		_param1 = make([]string, len(params[1]))
  1432  		for u, param := range params[1] {
  1433  			_param1[u] = param.(string)
  1434  		}
  1435  		_param2 = make([]string, len(params[2]))
  1436  		for u, param := range params[2] {
  1437  			_param2[u] = param.(string)
  1438  		}
  1439  	}
  1440  	return
  1441  }
  1442  
  1443  func (verifier *VerifierMockJenkinsClient) GetOrganizationScanResult(_param0 int, _param1 golang_jenkins.Job) *MockJenkinsClient_GetOrganizationScanResult_OngoingVerification {
  1444  	params := []pegomock.Param{_param0, _param1}
  1445  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetOrganizationScanResult", params, verifier.timeout)
  1446  	return &MockJenkinsClient_GetOrganizationScanResult_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1447  }
  1448  
  1449  type MockJenkinsClient_GetOrganizationScanResult_OngoingVerification struct {
  1450  	mock              *MockJenkinsClient
  1451  	methodInvocations []pegomock.MethodInvocation
  1452  }
  1453  
  1454  func (c *MockJenkinsClient_GetOrganizationScanResult_OngoingVerification) GetCapturedArguments() (int, golang_jenkins.Job) {
  1455  	_param0, _param1 := c.GetAllCapturedArguments()
  1456  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
  1457  }
  1458  
  1459  func (c *MockJenkinsClient_GetOrganizationScanResult_OngoingVerification) GetAllCapturedArguments() (_param0 []int, _param1 []golang_jenkins.Job) {
  1460  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1461  	if len(params) > 0 {
  1462  		_param0 = make([]int, len(params[0]))
  1463  		for u, param := range params[0] {
  1464  			_param0[u] = param.(int)
  1465  		}
  1466  		_param1 = make([]golang_jenkins.Job, len(params[1]))
  1467  		for u, param := range params[1] {
  1468  			_param1[u] = param.(golang_jenkins.Job)
  1469  		}
  1470  	}
  1471  	return
  1472  }
  1473  
  1474  func (verifier *VerifierMockJenkinsClient) GetQueue() *MockJenkinsClient_GetQueue_OngoingVerification {
  1475  	params := []pegomock.Param{}
  1476  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetQueue", params, verifier.timeout)
  1477  	return &MockJenkinsClient_GetQueue_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1478  }
  1479  
  1480  type MockJenkinsClient_GetQueue_OngoingVerification struct {
  1481  	mock              *MockJenkinsClient
  1482  	methodInvocations []pegomock.MethodInvocation
  1483  }
  1484  
  1485  func (c *MockJenkinsClient_GetQueue_OngoingVerification) GetCapturedArguments() {
  1486  }
  1487  
  1488  func (c *MockJenkinsClient_GetQueue_OngoingVerification) GetAllCapturedArguments() {
  1489  }
  1490  
  1491  func (verifier *VerifierMockJenkinsClient) IsErrNotFound(_param0 error) *MockJenkinsClient_IsErrNotFound_OngoingVerification {
  1492  	params := []pegomock.Param{_param0}
  1493  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "IsErrNotFound", params, verifier.timeout)
  1494  	return &MockJenkinsClient_IsErrNotFound_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1495  }
  1496  
  1497  type MockJenkinsClient_IsErrNotFound_OngoingVerification struct {
  1498  	mock              *MockJenkinsClient
  1499  	methodInvocations []pegomock.MethodInvocation
  1500  }
  1501  
  1502  func (c *MockJenkinsClient_IsErrNotFound_OngoingVerification) GetCapturedArguments() error {
  1503  	_param0 := c.GetAllCapturedArguments()
  1504  	return _param0[len(_param0)-1]
  1505  }
  1506  
  1507  func (c *MockJenkinsClient_IsErrNotFound_OngoingVerification) GetAllCapturedArguments() (_param0 []error) {
  1508  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1509  	if len(params) > 0 {
  1510  		_param0 = make([]error, len(params[0]))
  1511  		for u, param := range params[0] {
  1512  			_param0[u] = param.(error)
  1513  		}
  1514  	}
  1515  	return
  1516  }
  1517  
  1518  func (verifier *VerifierMockJenkinsClient) NewLogPoller(_param0 string, _param1 io.Writer) *MockJenkinsClient_NewLogPoller_OngoingVerification {
  1519  	params := []pegomock.Param{_param0, _param1}
  1520  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "NewLogPoller", params, verifier.timeout)
  1521  	return &MockJenkinsClient_NewLogPoller_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1522  }
  1523  
  1524  type MockJenkinsClient_NewLogPoller_OngoingVerification struct {
  1525  	mock              *MockJenkinsClient
  1526  	methodInvocations []pegomock.MethodInvocation
  1527  }
  1528  
  1529  func (c *MockJenkinsClient_NewLogPoller_OngoingVerification) GetCapturedArguments() (string, io.Writer) {
  1530  	_param0, _param1 := c.GetAllCapturedArguments()
  1531  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
  1532  }
  1533  
  1534  func (c *MockJenkinsClient_NewLogPoller_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []io.Writer) {
  1535  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1536  	if len(params) > 0 {
  1537  		_param0 = make([]string, len(params[0]))
  1538  		for u, param := range params[0] {
  1539  			_param0[u] = param.(string)
  1540  		}
  1541  		_param1 = make([]io.Writer, len(params[1]))
  1542  		for u, param := range params[1] {
  1543  			_param1[u] = param.(io.Writer)
  1544  		}
  1545  	}
  1546  	return
  1547  }
  1548  
  1549  func (verifier *VerifierMockJenkinsClient) Post(_param0 string, _param1 url.Values, _param2 interface{}) *MockJenkinsClient_Post_OngoingVerification {
  1550  	params := []pegomock.Param{_param0, _param1, _param2}
  1551  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Post", params, verifier.timeout)
  1552  	return &MockJenkinsClient_Post_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1553  }
  1554  
  1555  type MockJenkinsClient_Post_OngoingVerification struct {
  1556  	mock              *MockJenkinsClient
  1557  	methodInvocations []pegomock.MethodInvocation
  1558  }
  1559  
  1560  func (c *MockJenkinsClient_Post_OngoingVerification) GetCapturedArguments() (string, url.Values, interface{}) {
  1561  	_param0, _param1, _param2 := c.GetAllCapturedArguments()
  1562  	return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1]
  1563  }
  1564  
  1565  func (c *MockJenkinsClient_Post_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []url.Values, _param2 []interface{}) {
  1566  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1567  	if len(params) > 0 {
  1568  		_param0 = make([]string, len(params[0]))
  1569  		for u, param := range params[0] {
  1570  			_param0[u] = param.(string)
  1571  		}
  1572  		_param1 = make([]url.Values, len(params[1]))
  1573  		for u, param := range params[1] {
  1574  			_param1[u] = param.(url.Values)
  1575  		}
  1576  		_param2 = make([]interface{}, len(params[2]))
  1577  		for u, param := range params[2] {
  1578  			_param2[u] = param.(interface{})
  1579  		}
  1580  	}
  1581  	return
  1582  }
  1583  
  1584  func (verifier *VerifierMockJenkinsClient) QuietDown() *MockJenkinsClient_QuietDown_OngoingVerification {
  1585  	params := []pegomock.Param{}
  1586  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "QuietDown", params, verifier.timeout)
  1587  	return &MockJenkinsClient_QuietDown_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1588  }
  1589  
  1590  type MockJenkinsClient_QuietDown_OngoingVerification struct {
  1591  	mock              *MockJenkinsClient
  1592  	methodInvocations []pegomock.MethodInvocation
  1593  }
  1594  
  1595  func (c *MockJenkinsClient_QuietDown_OngoingVerification) GetCapturedArguments() {
  1596  }
  1597  
  1598  func (c *MockJenkinsClient_QuietDown_OngoingVerification) GetAllCapturedArguments() {
  1599  }
  1600  
  1601  func (verifier *VerifierMockJenkinsClient) Reload() *MockJenkinsClient_Reload_OngoingVerification {
  1602  	params := []pegomock.Param{}
  1603  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Reload", params, verifier.timeout)
  1604  	return &MockJenkinsClient_Reload_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1605  }
  1606  
  1607  type MockJenkinsClient_Reload_OngoingVerification struct {
  1608  	mock              *MockJenkinsClient
  1609  	methodInvocations []pegomock.MethodInvocation
  1610  }
  1611  
  1612  func (c *MockJenkinsClient_Reload_OngoingVerification) GetCapturedArguments() {
  1613  }
  1614  
  1615  func (c *MockJenkinsClient_Reload_OngoingVerification) GetAllCapturedArguments() {
  1616  }
  1617  
  1618  func (verifier *VerifierMockJenkinsClient) RemoveJob(_param0 string) *MockJenkinsClient_RemoveJob_OngoingVerification {
  1619  	params := []pegomock.Param{_param0}
  1620  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "RemoveJob", params, verifier.timeout)
  1621  	return &MockJenkinsClient_RemoveJob_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1622  }
  1623  
  1624  type MockJenkinsClient_RemoveJob_OngoingVerification struct {
  1625  	mock              *MockJenkinsClient
  1626  	methodInvocations []pegomock.MethodInvocation
  1627  }
  1628  
  1629  func (c *MockJenkinsClient_RemoveJob_OngoingVerification) GetCapturedArguments() string {
  1630  	_param0 := c.GetAllCapturedArguments()
  1631  	return _param0[len(_param0)-1]
  1632  }
  1633  
  1634  func (c *MockJenkinsClient_RemoveJob_OngoingVerification) GetAllCapturedArguments() (_param0 []string) {
  1635  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1636  	if len(params) > 0 {
  1637  		_param0 = make([]string, len(params[0]))
  1638  		for u, param := range params[0] {
  1639  			_param0[u] = param.(string)
  1640  		}
  1641  	}
  1642  	return
  1643  }
  1644  
  1645  func (verifier *VerifierMockJenkinsClient) Restart() *MockJenkinsClient_Restart_OngoingVerification {
  1646  	params := []pegomock.Param{}
  1647  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Restart", params, verifier.timeout)
  1648  	return &MockJenkinsClient_Restart_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1649  }
  1650  
  1651  type MockJenkinsClient_Restart_OngoingVerification struct {
  1652  	mock              *MockJenkinsClient
  1653  	methodInvocations []pegomock.MethodInvocation
  1654  }
  1655  
  1656  func (c *MockJenkinsClient_Restart_OngoingVerification) GetCapturedArguments() {
  1657  }
  1658  
  1659  func (c *MockJenkinsClient_Restart_OngoingVerification) GetAllCapturedArguments() {
  1660  }
  1661  
  1662  func (verifier *VerifierMockJenkinsClient) SafeRestart() *MockJenkinsClient_SafeRestart_OngoingVerification {
  1663  	params := []pegomock.Param{}
  1664  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "SafeRestart", params, verifier.timeout)
  1665  	return &MockJenkinsClient_SafeRestart_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1666  }
  1667  
  1668  type MockJenkinsClient_SafeRestart_OngoingVerification struct {
  1669  	mock              *MockJenkinsClient
  1670  	methodInvocations []pegomock.MethodInvocation
  1671  }
  1672  
  1673  func (c *MockJenkinsClient_SafeRestart_OngoingVerification) GetCapturedArguments() {
  1674  }
  1675  
  1676  func (c *MockJenkinsClient_SafeRestart_OngoingVerification) GetAllCapturedArguments() {
  1677  }
  1678  
  1679  func (verifier *VerifierMockJenkinsClient) SetBuildDescription(_param0 golang_jenkins.Build, _param1 string) *MockJenkinsClient_SetBuildDescription_OngoingVerification {
  1680  	params := []pegomock.Param{_param0, _param1}
  1681  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "SetBuildDescription", params, verifier.timeout)
  1682  	return &MockJenkinsClient_SetBuildDescription_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1683  }
  1684  
  1685  type MockJenkinsClient_SetBuildDescription_OngoingVerification struct {
  1686  	mock              *MockJenkinsClient
  1687  	methodInvocations []pegomock.MethodInvocation
  1688  }
  1689  
  1690  func (c *MockJenkinsClient_SetBuildDescription_OngoingVerification) GetCapturedArguments() (golang_jenkins.Build, string) {
  1691  	_param0, _param1 := c.GetAllCapturedArguments()
  1692  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
  1693  }
  1694  
  1695  func (c *MockJenkinsClient_SetBuildDescription_OngoingVerification) GetAllCapturedArguments() (_param0 []golang_jenkins.Build, _param1 []string) {
  1696  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1697  	if len(params) > 0 {
  1698  		_param0 = make([]golang_jenkins.Build, len(params[0]))
  1699  		for u, param := range params[0] {
  1700  			_param0[u] = param.(golang_jenkins.Build)
  1701  		}
  1702  		_param1 = make([]string, len(params[1]))
  1703  		for u, param := range params[1] {
  1704  			_param1[u] = param.(string)
  1705  		}
  1706  	}
  1707  	return
  1708  }
  1709  
  1710  func (verifier *VerifierMockJenkinsClient) SetHTTPClient(_param0 *http.Client) *MockJenkinsClient_SetHTTPClient_OngoingVerification {
  1711  	params := []pegomock.Param{_param0}
  1712  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "SetHTTPClient", params, verifier.timeout)
  1713  	return &MockJenkinsClient_SetHTTPClient_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1714  }
  1715  
  1716  type MockJenkinsClient_SetHTTPClient_OngoingVerification struct {
  1717  	mock              *MockJenkinsClient
  1718  	methodInvocations []pegomock.MethodInvocation
  1719  }
  1720  
  1721  func (c *MockJenkinsClient_SetHTTPClient_OngoingVerification) GetCapturedArguments() *http.Client {
  1722  	_param0 := c.GetAllCapturedArguments()
  1723  	return _param0[len(_param0)-1]
  1724  }
  1725  
  1726  func (c *MockJenkinsClient_SetHTTPClient_OngoingVerification) GetAllCapturedArguments() (_param0 []*http.Client) {
  1727  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1728  	if len(params) > 0 {
  1729  		_param0 = make([]*http.Client, len(params[0]))
  1730  		for u, param := range params[0] {
  1731  			_param0[u] = param.(*http.Client)
  1732  		}
  1733  	}
  1734  	return
  1735  }
  1736  
  1737  func (verifier *VerifierMockJenkinsClient) StopBuild(_param0 golang_jenkins.Job, _param1 int) *MockJenkinsClient_StopBuild_OngoingVerification {
  1738  	params := []pegomock.Param{_param0, _param1}
  1739  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "StopBuild", params, verifier.timeout)
  1740  	return &MockJenkinsClient_StopBuild_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1741  }
  1742  
  1743  type MockJenkinsClient_StopBuild_OngoingVerification struct {
  1744  	mock              *MockJenkinsClient
  1745  	methodInvocations []pegomock.MethodInvocation
  1746  }
  1747  
  1748  func (c *MockJenkinsClient_StopBuild_OngoingVerification) GetCapturedArguments() (golang_jenkins.Job, int) {
  1749  	_param0, _param1 := c.GetAllCapturedArguments()
  1750  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
  1751  }
  1752  
  1753  func (c *MockJenkinsClient_StopBuild_OngoingVerification) GetAllCapturedArguments() (_param0 []golang_jenkins.Job, _param1 []int) {
  1754  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1755  	if len(params) > 0 {
  1756  		_param0 = make([]golang_jenkins.Job, len(params[0]))
  1757  		for u, param := range params[0] {
  1758  			_param0[u] = param.(golang_jenkins.Job)
  1759  		}
  1760  		_param1 = make([]int, len(params[1]))
  1761  		for u, param := range params[1] {
  1762  			_param1[u] = param.(int)
  1763  		}
  1764  	}
  1765  	return
  1766  }
  1767  
  1768  func (verifier *VerifierMockJenkinsClient) TailLog(_param0 string, _param1 io.Writer, _param2 time.Duration, _param3 time.Duration) *MockJenkinsClient_TailLog_OngoingVerification {
  1769  	params := []pegomock.Param{_param0, _param1, _param2, _param3}
  1770  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "TailLog", params, verifier.timeout)
  1771  	return &MockJenkinsClient_TailLog_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1772  }
  1773  
  1774  type MockJenkinsClient_TailLog_OngoingVerification struct {
  1775  	mock              *MockJenkinsClient
  1776  	methodInvocations []pegomock.MethodInvocation
  1777  }
  1778  
  1779  func (c *MockJenkinsClient_TailLog_OngoingVerification) GetCapturedArguments() (string, io.Writer, time.Duration, time.Duration) {
  1780  	_param0, _param1, _param2, _param3 := c.GetAllCapturedArguments()
  1781  	return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1], _param3[len(_param3)-1]
  1782  }
  1783  
  1784  func (c *MockJenkinsClient_TailLog_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []io.Writer, _param2 []time.Duration, _param3 []time.Duration) {
  1785  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1786  	if len(params) > 0 {
  1787  		_param0 = make([]string, len(params[0]))
  1788  		for u, param := range params[0] {
  1789  			_param0[u] = param.(string)
  1790  		}
  1791  		_param1 = make([]io.Writer, len(params[1]))
  1792  		for u, param := range params[1] {
  1793  			_param1[u] = param.(io.Writer)
  1794  		}
  1795  		_param2 = make([]time.Duration, len(params[2]))
  1796  		for u, param := range params[2] {
  1797  			_param2[u] = param.(time.Duration)
  1798  		}
  1799  		_param3 = make([]time.Duration, len(params[3]))
  1800  		for u, param := range params[3] {
  1801  			_param3[u] = param.(time.Duration)
  1802  		}
  1803  	}
  1804  	return
  1805  }
  1806  
  1807  func (verifier *VerifierMockJenkinsClient) TailLogFunc(_param0 string, _param1 io.Writer) *MockJenkinsClient_TailLogFunc_OngoingVerification {
  1808  	params := []pegomock.Param{_param0, _param1}
  1809  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "TailLogFunc", params, verifier.timeout)
  1810  	return &MockJenkinsClient_TailLogFunc_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1811  }
  1812  
  1813  type MockJenkinsClient_TailLogFunc_OngoingVerification struct {
  1814  	mock              *MockJenkinsClient
  1815  	methodInvocations []pegomock.MethodInvocation
  1816  }
  1817  
  1818  func (c *MockJenkinsClient_TailLogFunc_OngoingVerification) GetCapturedArguments() (string, io.Writer) {
  1819  	_param0, _param1 := c.GetAllCapturedArguments()
  1820  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
  1821  }
  1822  
  1823  func (c *MockJenkinsClient_TailLogFunc_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []io.Writer) {
  1824  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1825  	if len(params) > 0 {
  1826  		_param0 = make([]string, len(params[0]))
  1827  		for u, param := range params[0] {
  1828  			_param0[u] = param.(string)
  1829  		}
  1830  		_param1 = make([]io.Writer, len(params[1]))
  1831  		for u, param := range params[1] {
  1832  			_param1[u] = param.(io.Writer)
  1833  		}
  1834  	}
  1835  	return
  1836  }
  1837  
  1838  func (verifier *VerifierMockJenkinsClient) UpdateJob(_param0 golang_jenkins.JobItem, _param1 string) *MockJenkinsClient_UpdateJob_OngoingVerification {
  1839  	params := []pegomock.Param{_param0, _param1}
  1840  	methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "UpdateJob", params, verifier.timeout)
  1841  	return &MockJenkinsClient_UpdateJob_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations}
  1842  }
  1843  
  1844  type MockJenkinsClient_UpdateJob_OngoingVerification struct {
  1845  	mock              *MockJenkinsClient
  1846  	methodInvocations []pegomock.MethodInvocation
  1847  }
  1848  
  1849  func (c *MockJenkinsClient_UpdateJob_OngoingVerification) GetCapturedArguments() (golang_jenkins.JobItem, string) {
  1850  	_param0, _param1 := c.GetAllCapturedArguments()
  1851  	return _param0[len(_param0)-1], _param1[len(_param1)-1]
  1852  }
  1853  
  1854  func (c *MockJenkinsClient_UpdateJob_OngoingVerification) GetAllCapturedArguments() (_param0 []golang_jenkins.JobItem, _param1 []string) {
  1855  	params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations)
  1856  	if len(params) > 0 {
  1857  		_param0 = make([]golang_jenkins.JobItem, len(params[0]))
  1858  		for u, param := range params[0] {
  1859  			_param0[u] = param.(golang_jenkins.JobItem)
  1860  		}
  1861  		_param1 = make([]string, len(params[1]))
  1862  		for u, param := range params[1] {
  1863  			_param1[u] = param.(string)
  1864  		}
  1865  	}
  1866  	return
  1867  }