github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/pkg/gits/mocks/gitter.go (about) 1 // Code generated by pegomock. DO NOT EDIT. 2 // Source: github.com/olli-ai/jx/v2/pkg/gits (interfaces: Gitter) 3 4 package gits_test 5 6 import ( 7 io "io" 8 "reflect" 9 "time" 10 11 auth "github.com/olli-ai/jx/v2/pkg/auth" 12 gits "github.com/olli-ai/jx/v2/pkg/gits" 13 pegomock "github.com/petergtz/pegomock" 14 config "gopkg.in/src-d/go-git.v4/config" 15 ) 16 17 type MockGitter struct { 18 fail func(message string, callerSkip ...int) 19 } 20 21 func NewMockGitter(options ...pegomock.Option) *MockGitter { 22 mock := &MockGitter{} 23 for _, option := range options { 24 option.Apply(mock) 25 } 26 return mock 27 } 28 29 func (mock *MockGitter) SetFailHandler(fh pegomock.FailHandler) { mock.fail = fh } 30 func (mock *MockGitter) FailHandler() pegomock.FailHandler { return mock.fail } 31 32 func (mock *MockGitter) Add(_param0 string, _param1 ...string) error { 33 if mock == nil { 34 panic("mock must not be nil. Use myMock := NewMockGitter().") 35 } 36 params := []pegomock.Param{_param0} 37 for _, param := range _param1 { 38 params = append(params, param) 39 } 40 result := pegomock.GetGenericMockFrom(mock).Invoke("Add", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 41 var ret0 error 42 if len(result) != 0 { 43 if result[0] != nil { 44 ret0 = result[0].(error) 45 } 46 } 47 return ret0 48 } 49 50 func (mock *MockGitter) AddCommit(_param0 string, _param1 string) error { 51 if mock == nil { 52 panic("mock must not be nil. Use myMock := NewMockGitter().") 53 } 54 params := []pegomock.Param{_param0, _param1} 55 result := pegomock.GetGenericMockFrom(mock).Invoke("AddCommit", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 56 var ret0 error 57 if len(result) != 0 { 58 if result[0] != nil { 59 ret0 = result[0].(error) 60 } 61 } 62 return ret0 63 } 64 65 func (mock *MockGitter) AddCommitFiles(_param0 string, _param1 string, _param2 []string) error { 66 if mock == nil { 67 panic("mock must not be nil. Use myMock := NewMockGitter().") 68 } 69 params := []pegomock.Param{_param0, _param1, _param2} 70 result := pegomock.GetGenericMockFrom(mock).Invoke("AddCommitFiles", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 71 var ret0 error 72 if len(result) != 0 { 73 if result[0] != nil { 74 ret0 = result[0].(error) 75 } 76 } 77 return ret0 78 } 79 80 func (mock *MockGitter) AddRemote(_param0 string, _param1 string, _param2 string) error { 81 if mock == nil { 82 panic("mock must not be nil. Use myMock := NewMockGitter().") 83 } 84 params := []pegomock.Param{_param0, _param1, _param2} 85 result := pegomock.GetGenericMockFrom(mock).Invoke("AddRemote", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 86 var ret0 error 87 if len(result) != 0 { 88 if result[0] != nil { 89 ret0 = result[0].(error) 90 } 91 } 92 return ret0 93 } 94 95 func (mock *MockGitter) Branch(_param0 string) (string, error) { 96 if mock == nil { 97 panic("mock must not be nil. Use myMock := NewMockGitter().") 98 } 99 params := []pegomock.Param{_param0} 100 result := pegomock.GetGenericMockFrom(mock).Invoke("Branch", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 101 var ret0 string 102 var ret1 error 103 if len(result) != 0 { 104 if result[0] != nil { 105 ret0 = result[0].(string) 106 } 107 if result[1] != nil { 108 ret1 = result[1].(error) 109 } 110 } 111 return ret0, ret1 112 } 113 114 func (mock *MockGitter) Checkout(_param0 string, _param1 string) error { 115 if mock == nil { 116 panic("mock must not be nil. Use myMock := NewMockGitter().") 117 } 118 params := []pegomock.Param{_param0, _param1} 119 result := pegomock.GetGenericMockFrom(mock).Invoke("Checkout", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 120 var ret0 error 121 if len(result) != 0 { 122 if result[0] != nil { 123 ret0 = result[0].(error) 124 } 125 } 126 return ret0 127 } 128 129 func (mock *MockGitter) CheckoutCommitFiles(_param0 string, _param1 string, _param2 []string) error { 130 if mock == nil { 131 panic("mock must not be nil. Use myMock := NewMockGitter().") 132 } 133 params := []pegomock.Param{_param0, _param1, _param2} 134 result := pegomock.GetGenericMockFrom(mock).Invoke("CheckoutCommitFiles", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 135 var ret0 error 136 if len(result) != 0 { 137 if result[0] != nil { 138 ret0 = result[0].(error) 139 } 140 } 141 return ret0 142 } 143 144 func (mock *MockGitter) CheckoutOrphan(_param0 string, _param1 string) error { 145 if mock == nil { 146 panic("mock must not be nil. Use myMock := NewMockGitter().") 147 } 148 params := []pegomock.Param{_param0, _param1} 149 result := pegomock.GetGenericMockFrom(mock).Invoke("CheckoutOrphan", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 150 var ret0 error 151 if len(result) != 0 { 152 if result[0] != nil { 153 ret0 = result[0].(error) 154 } 155 } 156 return ret0 157 } 158 159 func (mock *MockGitter) CheckoutRemoteBranch(_param0 string, _param1 string) error { 160 if mock == nil { 161 panic("mock must not be nil. Use myMock := NewMockGitter().") 162 } 163 params := []pegomock.Param{_param0, _param1} 164 result := pegomock.GetGenericMockFrom(mock).Invoke("CheckoutRemoteBranch", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 165 var ret0 error 166 if len(result) != 0 { 167 if result[0] != nil { 168 ret0 = result[0].(error) 169 } 170 } 171 return ret0 172 } 173 174 func (mock *MockGitter) CherryPick(_param0 string, _param1 string) error { 175 if mock == nil { 176 panic("mock must not be nil. Use myMock := NewMockGitter().") 177 } 178 params := []pegomock.Param{_param0, _param1} 179 result := pegomock.GetGenericMockFrom(mock).Invoke("CherryPick", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 180 var ret0 error 181 if len(result) != 0 { 182 if result[0] != nil { 183 ret0 = result[0].(error) 184 } 185 } 186 return ret0 187 } 188 189 func (mock *MockGitter) CherryPickTheirs(_param0 string, _param1 string) error { 190 if mock == nil { 191 panic("mock must not be nil. Use myMock := NewMockGitter().") 192 } 193 params := []pegomock.Param{_param0, _param1} 194 result := pegomock.GetGenericMockFrom(mock).Invoke("CherryPickTheirs", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 195 var ret0 error 196 if len(result) != 0 { 197 if result[0] != nil { 198 ret0 = result[0].(error) 199 } 200 } 201 return ret0 202 } 203 204 func (mock *MockGitter) CherryPickTheirsKeepRedundantCommits(_param0 string, _param1 string) error { 205 if mock == nil { 206 panic("mock must not be nil. Use myMock := NewMockGitter().") 207 } 208 params := []pegomock.Param{_param0, _param1} 209 result := pegomock.GetGenericMockFrom(mock).Invoke("CherryPickTheirsKeepRedundantCommits", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 210 var ret0 error 211 if len(result) != 0 { 212 if result[0] != nil { 213 ret0 = result[0].(error) 214 } 215 } 216 return ret0 217 } 218 219 func (mock *MockGitter) CleanForce(_param0 string, _param1 string) error { 220 if mock == nil { 221 panic("mock must not be nil. Use myMock := NewMockGitter().") 222 } 223 params := []pegomock.Param{_param0, _param1} 224 result := pegomock.GetGenericMockFrom(mock).Invoke("CleanForce", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 225 var ret0 error 226 if len(result) != 0 { 227 if result[0] != nil { 228 ret0 = result[0].(error) 229 } 230 } 231 return ret0 232 } 233 234 func (mock *MockGitter) Clone(_param0 string, _param1 string) error { 235 if mock == nil { 236 panic("mock must not be nil. Use myMock := NewMockGitter().") 237 } 238 params := []pegomock.Param{_param0, _param1} 239 result := pegomock.GetGenericMockFrom(mock).Invoke("Clone", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 240 var ret0 error 241 if len(result) != 0 { 242 if result[0] != nil { 243 ret0 = result[0].(error) 244 } 245 } 246 return ret0 247 } 248 249 func (mock *MockGitter) CloneBare(_param0 string, _param1 string) error { 250 if mock == nil { 251 panic("mock must not be nil. Use myMock := NewMockGitter().") 252 } 253 params := []pegomock.Param{_param0, _param1} 254 result := pegomock.GetGenericMockFrom(mock).Invoke("CloneBare", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 255 var ret0 error 256 if len(result) != 0 { 257 if result[0] != nil { 258 ret0 = result[0].(error) 259 } 260 } 261 return ret0 262 } 263 264 func (mock *MockGitter) CloneOrPull(_param0 string, _param1 string) error { 265 if mock == nil { 266 panic("mock must not be nil. Use myMock := NewMockGitter().") 267 } 268 params := []pegomock.Param{_param0, _param1} 269 result := pegomock.GetGenericMockFrom(mock).Invoke("CloneOrPull", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 270 var ret0 error 271 if len(result) != 0 { 272 if result[0] != nil { 273 ret0 = result[0].(error) 274 } 275 } 276 return ret0 277 } 278 279 func (mock *MockGitter) CommitDir(_param0 string, _param1 string) error { 280 if mock == nil { 281 panic("mock must not be nil. Use myMock := NewMockGitter().") 282 } 283 params := []pegomock.Param{_param0, _param1} 284 result := pegomock.GetGenericMockFrom(mock).Invoke("CommitDir", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 285 var ret0 error 286 if len(result) != 0 { 287 if result[0] != nil { 288 ret0 = result[0].(error) 289 } 290 } 291 return ret0 292 } 293 294 func (mock *MockGitter) CommitIfChanges(_param0 string, _param1 string) error { 295 if mock == nil { 296 panic("mock must not be nil. Use myMock := NewMockGitter().") 297 } 298 params := []pegomock.Param{_param0, _param1} 299 result := pegomock.GetGenericMockFrom(mock).Invoke("CommitIfChanges", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 300 var ret0 error 301 if len(result) != 0 { 302 if result[0] != nil { 303 ret0 = result[0].(error) 304 } 305 } 306 return ret0 307 } 308 309 func (mock *MockGitter) Config(_param0 string, _param1 ...string) error { 310 if mock == nil { 311 panic("mock must not be nil. Use myMock := NewMockGitter().") 312 } 313 params := []pegomock.Param{_param0} 314 for _, param := range _param1 { 315 params = append(params, param) 316 } 317 result := pegomock.GetGenericMockFrom(mock).Invoke("Config", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 318 var ret0 error 319 if len(result) != 0 { 320 if result[0] != nil { 321 ret0 = result[0].(error) 322 } 323 } 324 return ret0 325 } 326 327 func (mock *MockGitter) ConvertToValidBranchName(_param0 string) string { 328 if mock == nil { 329 panic("mock must not be nil. Use myMock := NewMockGitter().") 330 } 331 params := []pegomock.Param{_param0} 332 result := pegomock.GetGenericMockFrom(mock).Invoke("ConvertToValidBranchName", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem()}) 333 var ret0 string 334 if len(result) != 0 { 335 if result[0] != nil { 336 ret0 = result[0].(string) 337 } 338 } 339 return ret0 340 } 341 342 func (mock *MockGitter) CreateAuthenticatedURL(_param0 string, _param1 *auth.UserAuth) (string, error) { 343 if mock == nil { 344 panic("mock must not be nil. Use myMock := NewMockGitter().") 345 } 346 params := []pegomock.Param{_param0, _param1} 347 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateAuthenticatedURL", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 348 var ret0 string 349 var ret1 error 350 if len(result) != 0 { 351 if result[0] != nil { 352 ret0 = result[0].(string) 353 } 354 if result[1] != nil { 355 ret1 = result[1].(error) 356 } 357 } 358 return ret0, ret1 359 } 360 361 func (mock *MockGitter) CreateBranch(_param0 string, _param1 string) error { 362 if mock == nil { 363 panic("mock must not be nil. Use myMock := NewMockGitter().") 364 } 365 params := []pegomock.Param{_param0, _param1} 366 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateBranch", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 367 var ret0 error 368 if len(result) != 0 { 369 if result[0] != nil { 370 ret0 = result[0].(error) 371 } 372 } 373 return ret0 374 } 375 376 func (mock *MockGitter) CreateBranchFrom(_param0 string, _param1 string, _param2 string) error { 377 if mock == nil { 378 panic("mock must not be nil. Use myMock := NewMockGitter().") 379 } 380 params := []pegomock.Param{_param0, _param1, _param2} 381 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateBranchFrom", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 382 var ret0 error 383 if len(result) != 0 { 384 if result[0] != nil { 385 ret0 = result[0].(error) 386 } 387 } 388 return ret0 389 } 390 391 func (mock *MockGitter) CreateTag(_param0 string, _param1 string, _param2 string) error { 392 if mock == nil { 393 panic("mock must not be nil. Use myMock := NewMockGitter().") 394 } 395 params := []pegomock.Param{_param0, _param1, _param2} 396 result := pegomock.GetGenericMockFrom(mock).Invoke("CreateTag", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 397 var ret0 error 398 if len(result) != 0 { 399 if result[0] != nil { 400 ret0 = result[0].(error) 401 } 402 } 403 return ret0 404 } 405 406 func (mock *MockGitter) DeleteLocalBranch(_param0 string, _param1 string) error { 407 if mock == nil { 408 panic("mock must not be nil. Use myMock := NewMockGitter().") 409 } 410 params := []pegomock.Param{_param0, _param1} 411 result := pegomock.GetGenericMockFrom(mock).Invoke("DeleteLocalBranch", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 412 var ret0 error 413 if len(result) != 0 { 414 if result[0] != nil { 415 ret0 = result[0].(error) 416 } 417 } 418 return ret0 419 } 420 421 func (mock *MockGitter) DeleteRemoteBranch(_param0 string, _param1 string, _param2 string) error { 422 if mock == nil { 423 panic("mock must not be nil. Use myMock := NewMockGitter().") 424 } 425 params := []pegomock.Param{_param0, _param1, _param2} 426 result := pegomock.GetGenericMockFrom(mock).Invoke("DeleteRemoteBranch", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 427 var ret0 error 428 if len(result) != 0 { 429 if result[0] != nil { 430 ret0 = result[0].(error) 431 } 432 } 433 return ret0 434 } 435 436 func (mock *MockGitter) Describe(_param0 string, _param1 bool, _param2 string, _param3 string, _param4 bool) (string, string, error) { 437 if mock == nil { 438 panic("mock must not be nil. Use myMock := NewMockGitter().") 439 } 440 params := []pegomock.Param{_param0, _param1, _param2, _param3, _param4} 441 result := pegomock.GetGenericMockFrom(mock).Invoke("Describe", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 442 var ret0 string 443 var ret1 string 444 var ret2 error 445 if len(result) != 0 { 446 if result[0] != nil { 447 ret0 = result[0].(string) 448 } 449 if result[1] != nil { 450 ret1 = result[1].(string) 451 } 452 if result[2] != nil { 453 ret2 = result[2].(error) 454 } 455 } 456 return ret0, ret1, ret2 457 } 458 459 func (mock *MockGitter) Diff(_param0 string) (string, error) { 460 if mock == nil { 461 panic("mock must not be nil. Use myMock := NewMockGitter().") 462 } 463 params := []pegomock.Param{_param0} 464 result := pegomock.GetGenericMockFrom(mock).Invoke("Diff", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 465 var ret0 string 466 var ret1 error 467 if len(result) != 0 { 468 if result[0] != nil { 469 ret0 = result[0].(string) 470 } 471 if result[1] != nil { 472 ret1 = result[1].(error) 473 } 474 } 475 return ret0, ret1 476 } 477 478 func (mock *MockGitter) DiscoverRemoteGitURL(_param0 string) (string, error) { 479 if mock == nil { 480 panic("mock must not be nil. Use myMock := NewMockGitter().") 481 } 482 params := []pegomock.Param{_param0} 483 result := pegomock.GetGenericMockFrom(mock).Invoke("DiscoverRemoteGitURL", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 484 var ret0 string 485 var ret1 error 486 if len(result) != 0 { 487 if result[0] != nil { 488 ret0 = result[0].(string) 489 } 490 if result[1] != nil { 491 ret1 = result[1].(error) 492 } 493 } 494 return ret0, ret1 495 } 496 497 func (mock *MockGitter) DiscoverUpstreamGitURL(_param0 string) (string, error) { 498 if mock == nil { 499 panic("mock must not be nil. Use myMock := NewMockGitter().") 500 } 501 params := []pegomock.Param{_param0} 502 result := pegomock.GetGenericMockFrom(mock).Invoke("DiscoverUpstreamGitURL", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 503 var ret0 string 504 var ret1 error 505 if len(result) != 0 { 506 if result[0] != nil { 507 ret0 = result[0].(string) 508 } 509 if result[1] != nil { 510 ret1 = result[1].(error) 511 } 512 } 513 return ret0, ret1 514 } 515 516 func (mock *MockGitter) Email(_param0 string) (string, error) { 517 if mock == nil { 518 panic("mock must not be nil. Use myMock := NewMockGitter().") 519 } 520 params := []pegomock.Param{_param0} 521 result := pegomock.GetGenericMockFrom(mock).Invoke("Email", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 522 var ret0 string 523 var ret1 error 524 if len(result) != 0 { 525 if result[0] != nil { 526 ret0 = result[0].(string) 527 } 528 if result[1] != nil { 529 ret1 = result[1].(error) 530 } 531 } 532 return ret0, ret1 533 } 534 535 func (mock *MockGitter) FetchBranch(_param0 string, _param1 string, _param2 ...string) error { 536 if mock == nil { 537 panic("mock must not be nil. Use myMock := NewMockGitter().") 538 } 539 params := []pegomock.Param{_param0, _param1} 540 for _, param := range _param2 { 541 params = append(params, param) 542 } 543 result := pegomock.GetGenericMockFrom(mock).Invoke("FetchBranch", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 544 var ret0 error 545 if len(result) != 0 { 546 if result[0] != nil { 547 ret0 = result[0].(error) 548 } 549 } 550 return ret0 551 } 552 553 func (mock *MockGitter) FetchBranchShallow(_param0 string, _param1 string, _param2 ...string) error { 554 if mock == nil { 555 panic("mock must not be nil. Use myMock := NewMockGitter().") 556 } 557 params := []pegomock.Param{_param0, _param1} 558 for _, param := range _param2 { 559 params = append(params, param) 560 } 561 result := pegomock.GetGenericMockFrom(mock).Invoke("FetchBranchShallow", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 562 var ret0 error 563 if len(result) != 0 { 564 if result[0] != nil { 565 ret0 = result[0].(error) 566 } 567 } 568 return ret0 569 } 570 571 func (mock *MockGitter) FetchBranchUnshallow(_param0 string, _param1 string, _param2 ...string) error { 572 if mock == nil { 573 panic("mock must not be nil. Use myMock := NewMockGitter().") 574 } 575 params := []pegomock.Param{_param0, _param1} 576 for _, param := range _param2 { 577 params = append(params, param) 578 } 579 result := pegomock.GetGenericMockFrom(mock).Invoke("FetchBranchUnshallow", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 580 var ret0 error 581 if len(result) != 0 { 582 if result[0] != nil { 583 ret0 = result[0].(error) 584 } 585 } 586 return ret0 587 } 588 589 func (mock *MockGitter) FetchRemoteTags(_param0 string, _param1 string) error { 590 if mock == nil { 591 panic("mock must not be nil. Use myMock := NewMockGitter().") 592 } 593 params := []pegomock.Param{_param0, _param1} 594 result := pegomock.GetGenericMockFrom(mock).Invoke("FetchRemoteTags", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 595 var ret0 error 596 if len(result) != 0 { 597 if result[0] != nil { 598 ret0 = result[0].(error) 599 } 600 } 601 return ret0 602 } 603 604 func (mock *MockGitter) FetchTags(_param0 string) error { 605 if mock == nil { 606 panic("mock must not be nil. Use myMock := NewMockGitter().") 607 } 608 params := []pegomock.Param{_param0} 609 result := pegomock.GetGenericMockFrom(mock).Invoke("FetchTags", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 610 var ret0 error 611 if len(result) != 0 { 612 if result[0] != nil { 613 ret0 = result[0].(error) 614 } 615 } 616 return ret0 617 } 618 619 func (mock *MockGitter) FetchUnshallow(_param0 string) error { 620 if mock == nil { 621 panic("mock must not be nil. Use myMock := NewMockGitter().") 622 } 623 params := []pegomock.Param{_param0} 624 result := pegomock.GetGenericMockFrom(mock).Invoke("FetchUnshallow", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 625 var ret0 error 626 if len(result) != 0 { 627 if result[0] != nil { 628 ret0 = result[0].(error) 629 } 630 } 631 return ret0 632 } 633 634 func (mock *MockGitter) FilterTags(_param0 string, _param1 string) ([]string, error) { 635 if mock == nil { 636 panic("mock must not be nil. Use myMock := NewMockGitter().") 637 } 638 params := []pegomock.Param{_param0, _param1} 639 result := pegomock.GetGenericMockFrom(mock).Invoke("FilterTags", params, []reflect.Type{reflect.TypeOf((*[]string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 640 var ret0 []string 641 var ret1 error 642 if len(result) != 0 { 643 if result[0] != nil { 644 ret0 = result[0].([]string) 645 } 646 if result[1] != nil { 647 ret1 = result[1].(error) 648 } 649 } 650 return ret0, ret1 651 } 652 653 func (mock *MockGitter) FindGitConfigDir(_param0 string) (string, string, error) { 654 if mock == nil { 655 panic("mock must not be nil. Use myMock := NewMockGitter().") 656 } 657 params := []pegomock.Param{_param0} 658 result := pegomock.GetGenericMockFrom(mock).Invoke("FindGitConfigDir", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 659 var ret0 string 660 var ret1 string 661 var ret2 error 662 if len(result) != 0 { 663 if result[0] != nil { 664 ret0 = result[0].(string) 665 } 666 if result[1] != nil { 667 ret1 = result[1].(string) 668 } 669 if result[2] != nil { 670 ret2 = result[2].(error) 671 } 672 } 673 return ret0, ret1, ret2 674 } 675 676 func (mock *MockGitter) ForcePushBranch(_param0 string, _param1 string, _param2 string) error { 677 if mock == nil { 678 panic("mock must not be nil. Use myMock := NewMockGitter().") 679 } 680 params := []pegomock.Param{_param0, _param1, _param2} 681 result := pegomock.GetGenericMockFrom(mock).Invoke("ForcePushBranch", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 682 var ret0 error 683 if len(result) != 0 { 684 if result[0] != nil { 685 ret0 = result[0].(error) 686 } 687 } 688 return ret0 689 } 690 691 func (mock *MockGitter) GetAuthorEmailForCommit(_param0 string, _param1 string) (string, error) { 692 if mock == nil { 693 panic("mock must not be nil. Use myMock := NewMockGitter().") 694 } 695 params := []pegomock.Param{_param0, _param1} 696 result := pegomock.GetGenericMockFrom(mock).Invoke("GetAuthorEmailForCommit", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 697 var ret0 string 698 var ret1 error 699 if len(result) != 0 { 700 if result[0] != nil { 701 ret0 = result[0].(string) 702 } 703 if result[1] != nil { 704 ret1 = result[1].(error) 705 } 706 } 707 return ret0, ret1 708 } 709 710 func (mock *MockGitter) GetCommitPointedToByLatestTag(_param0 string) (string, string, error) { 711 if mock == nil { 712 panic("mock must not be nil. Use myMock := NewMockGitter().") 713 } 714 params := []pegomock.Param{_param0} 715 result := pegomock.GetGenericMockFrom(mock).Invoke("GetCommitPointedToByLatestTag", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 716 var ret0 string 717 var ret1 string 718 var ret2 error 719 if len(result) != 0 { 720 if result[0] != nil { 721 ret0 = result[0].(string) 722 } 723 if result[1] != nil { 724 ret1 = result[1].(string) 725 } 726 if result[2] != nil { 727 ret2 = result[2].(error) 728 } 729 } 730 return ret0, ret1, ret2 731 } 732 733 func (mock *MockGitter) GetCommitPointedToByPreviousTag(_param0 string) (string, string, error) { 734 if mock == nil { 735 panic("mock must not be nil. Use myMock := NewMockGitter().") 736 } 737 params := []pegomock.Param{_param0} 738 result := pegomock.GetGenericMockFrom(mock).Invoke("GetCommitPointedToByPreviousTag", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 739 var ret0 string 740 var ret1 string 741 var ret2 error 742 if len(result) != 0 { 743 if result[0] != nil { 744 ret0 = result[0].(string) 745 } 746 if result[1] != nil { 747 ret1 = result[1].(string) 748 } 749 if result[2] != nil { 750 ret2 = result[2].(error) 751 } 752 } 753 return ret0, ret1, ret2 754 } 755 756 func (mock *MockGitter) GetCommitPointedToByTag(_param0 string, _param1 string) (string, error) { 757 if mock == nil { 758 panic("mock must not be nil. Use myMock := NewMockGitter().") 759 } 760 params := []pegomock.Param{_param0, _param1} 761 result := pegomock.GetGenericMockFrom(mock).Invoke("GetCommitPointedToByTag", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 762 var ret0 string 763 var ret1 error 764 if len(result) != 0 { 765 if result[0] != nil { 766 ret0 = result[0].(string) 767 } 768 if result[1] != nil { 769 ret1 = result[1].(error) 770 } 771 } 772 return ret0, ret1 773 } 774 775 func (mock *MockGitter) GetCommits(_param0 string, _param1 string, _param2 string) ([]gits.GitCommit, error) { 776 if mock == nil { 777 panic("mock must not be nil. Use myMock := NewMockGitter().") 778 } 779 params := []pegomock.Param{_param0, _param1, _param2} 780 result := pegomock.GetGenericMockFrom(mock).Invoke("GetCommits", params, []reflect.Type{reflect.TypeOf((*[]gits.GitCommit)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 781 var ret0 []gits.GitCommit 782 var ret1 error 783 if len(result) != 0 { 784 if result[0] != nil { 785 ret0 = result[0].([]gits.GitCommit) 786 } 787 if result[1] != nil { 788 ret1 = result[1].(error) 789 } 790 } 791 return ret0, ret1 792 } 793 794 func (mock *MockGitter) GetCommitsNotOnAnyRemote(_param0 string, _param1 string) ([]gits.GitCommit, error) { 795 if mock == nil { 796 panic("mock must not be nil. Use myMock := NewMockGitter().") 797 } 798 params := []pegomock.Param{_param0, _param1} 799 result := pegomock.GetGenericMockFrom(mock).Invoke("GetCommitsNotOnAnyRemote", params, []reflect.Type{reflect.TypeOf((*[]gits.GitCommit)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 800 var ret0 []gits.GitCommit 801 var ret1 error 802 if len(result) != 0 { 803 if result[0] != nil { 804 ret0 = result[0].([]gits.GitCommit) 805 } 806 if result[1] != nil { 807 ret1 = result[1].(error) 808 } 809 } 810 return ret0, ret1 811 } 812 813 func (mock *MockGitter) GetFirstCommitSha(_param0 string) (string, error) { 814 if mock == nil { 815 panic("mock must not be nil. Use myMock := NewMockGitter().") 816 } 817 params := []pegomock.Param{_param0} 818 result := pegomock.GetGenericMockFrom(mock).Invoke("GetFirstCommitSha", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 819 var ret0 string 820 var ret1 error 821 if len(result) != 0 { 822 if result[0] != nil { 823 ret0 = result[0].(string) 824 } 825 if result[1] != nil { 826 ret1 = result[1].(error) 827 } 828 } 829 return ret0, ret1 830 } 831 832 func (mock *MockGitter) GetLatestCommitMessage(_param0 string) (string, error) { 833 if mock == nil { 834 panic("mock must not be nil. Use myMock := NewMockGitter().") 835 } 836 params := []pegomock.Param{_param0} 837 result := pegomock.GetGenericMockFrom(mock).Invoke("GetLatestCommitMessage", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 838 var ret0 string 839 var ret1 error 840 if len(result) != 0 { 841 if result[0] != nil { 842 ret0 = result[0].(string) 843 } 844 if result[1] != nil { 845 ret1 = result[1].(error) 846 } 847 } 848 return ret0, ret1 849 } 850 851 func (mock *MockGitter) GetLatestCommitSha(_param0 string) (string, error) { 852 if mock == nil { 853 panic("mock must not be nil. Use myMock := NewMockGitter().") 854 } 855 params := []pegomock.Param{_param0} 856 result := pegomock.GetGenericMockFrom(mock).Invoke("GetLatestCommitSha", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 857 var ret0 string 858 var ret1 error 859 if len(result) != 0 { 860 if result[0] != nil { 861 ret0 = result[0].(string) 862 } 863 if result[1] != nil { 864 ret1 = result[1].(error) 865 } 866 } 867 return ret0, ret1 868 } 869 870 func (mock *MockGitter) GetRemoteUrl(_param0 *config.Config, _param1 string) string { 871 if mock == nil { 872 panic("mock must not be nil. Use myMock := NewMockGitter().") 873 } 874 params := []pegomock.Param{_param0, _param1} 875 result := pegomock.GetGenericMockFrom(mock).Invoke("GetRemoteUrl", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem()}) 876 var ret0 string 877 if len(result) != 0 { 878 if result[0] != nil { 879 ret0 = result[0].(string) 880 } 881 } 882 return ret0 883 } 884 885 func (mock *MockGitter) GetRevisionBeforeDate(_param0 string, _param1 time.Time) (string, error) { 886 if mock == nil { 887 panic("mock must not be nil. Use myMock := NewMockGitter().") 888 } 889 params := []pegomock.Param{_param0, _param1} 890 result := pegomock.GetGenericMockFrom(mock).Invoke("GetRevisionBeforeDate", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 891 var ret0 string 892 var ret1 error 893 if len(result) != 0 { 894 if result[0] != nil { 895 ret0 = result[0].(string) 896 } 897 if result[1] != nil { 898 ret1 = result[1].(error) 899 } 900 } 901 return ret0, ret1 902 } 903 904 func (mock *MockGitter) GetRevisionBeforeDateText(_param0 string, _param1 string) (string, error) { 905 if mock == nil { 906 panic("mock must not be nil. Use myMock := NewMockGitter().") 907 } 908 params := []pegomock.Param{_param0, _param1} 909 result := pegomock.GetGenericMockFrom(mock).Invoke("GetRevisionBeforeDateText", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 910 var ret0 string 911 var ret1 error 912 if len(result) != 0 { 913 if result[0] != nil { 914 ret0 = result[0].(string) 915 } 916 if result[1] != nil { 917 ret1 = result[1].(error) 918 } 919 } 920 return ret0, ret1 921 } 922 923 func (mock *MockGitter) HasChanges(_param0 string) (bool, error) { 924 if mock == nil { 925 panic("mock must not be nil. Use myMock := NewMockGitter().") 926 } 927 params := []pegomock.Param{_param0} 928 result := pegomock.GetGenericMockFrom(mock).Invoke("HasChanges", params, []reflect.Type{reflect.TypeOf((*bool)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 929 var ret0 bool 930 var ret1 error 931 if len(result) != 0 { 932 if result[0] != nil { 933 ret0 = result[0].(bool) 934 } 935 if result[1] != nil { 936 ret1 = result[1].(error) 937 } 938 } 939 return ret0, ret1 940 } 941 942 func (mock *MockGitter) HasFileChanged(_param0 string, _param1 string) (bool, error) { 943 if mock == nil { 944 panic("mock must not be nil. Use myMock := NewMockGitter().") 945 } 946 params := []pegomock.Param{_param0, _param1} 947 result := pegomock.GetGenericMockFrom(mock).Invoke("HasFileChanged", params, []reflect.Type{reflect.TypeOf((*bool)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 948 var ret0 bool 949 var ret1 error 950 if len(result) != 0 { 951 if result[0] != nil { 952 ret0 = result[0].(bool) 953 } 954 if result[1] != nil { 955 ret1 = result[1].(error) 956 } 957 } 958 return ret0, ret1 959 } 960 961 func (mock *MockGitter) Info(_param0 string) (*gits.GitRepository, error) { 962 if mock == nil { 963 panic("mock must not be nil. Use myMock := NewMockGitter().") 964 } 965 params := []pegomock.Param{_param0} 966 result := pegomock.GetGenericMockFrom(mock).Invoke("Info", params, []reflect.Type{reflect.TypeOf((**gits.GitRepository)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 967 var ret0 *gits.GitRepository 968 var ret1 error 969 if len(result) != 0 { 970 if result[0] != nil { 971 ret0 = result[0].(*gits.GitRepository) 972 } 973 if result[1] != nil { 974 ret1 = result[1].(error) 975 } 976 } 977 return ret0, ret1 978 } 979 980 func (mock *MockGitter) Init(_param0 string) error { 981 if mock == nil { 982 panic("mock must not be nil. Use myMock := NewMockGitter().") 983 } 984 params := []pegomock.Param{_param0} 985 result := pegomock.GetGenericMockFrom(mock).Invoke("Init", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 986 var ret0 error 987 if len(result) != 0 { 988 if result[0] != nil { 989 ret0 = result[0].(error) 990 } 991 } 992 return ret0 993 } 994 995 func (mock *MockGitter) IsAncestor(_param0 string, _param1 string, _param2 string) (bool, error) { 996 if mock == nil { 997 panic("mock must not be nil. Use myMock := NewMockGitter().") 998 } 999 params := []pegomock.Param{_param0, _param1, _param2} 1000 result := pegomock.GetGenericMockFrom(mock).Invoke("IsAncestor", params, []reflect.Type{reflect.TypeOf((*bool)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1001 var ret0 bool 1002 var ret1 error 1003 if len(result) != 0 { 1004 if result[0] != nil { 1005 ret0 = result[0].(bool) 1006 } 1007 if result[1] != nil { 1008 ret1 = result[1].(error) 1009 } 1010 } 1011 return ret0, ret1 1012 } 1013 1014 func (mock *MockGitter) IsFork(_param0 string) (bool, error) { 1015 if mock == nil { 1016 panic("mock must not be nil. Use myMock := NewMockGitter().") 1017 } 1018 params := []pegomock.Param{_param0} 1019 result := pegomock.GetGenericMockFrom(mock).Invoke("IsFork", params, []reflect.Type{reflect.TypeOf((*bool)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1020 var ret0 bool 1021 var ret1 error 1022 if len(result) != 0 { 1023 if result[0] != nil { 1024 ret0 = result[0].(bool) 1025 } 1026 if result[1] != nil { 1027 ret1 = result[1].(error) 1028 } 1029 } 1030 return ret0, ret1 1031 } 1032 1033 func (mock *MockGitter) IsShallow(_param0 string) (bool, error) { 1034 if mock == nil { 1035 panic("mock must not be nil. Use myMock := NewMockGitter().") 1036 } 1037 params := []pegomock.Param{_param0} 1038 result := pegomock.GetGenericMockFrom(mock).Invoke("IsShallow", params, []reflect.Type{reflect.TypeOf((*bool)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1039 var ret0 bool 1040 var ret1 error 1041 if len(result) != 0 { 1042 if result[0] != nil { 1043 ret0 = result[0].(bool) 1044 } 1045 if result[1] != nil { 1046 ret1 = result[1].(error) 1047 } 1048 } 1049 return ret0, ret1 1050 } 1051 1052 func (mock *MockGitter) IsVersionControlled(_param0 string) (bool, error) { 1053 if mock == nil { 1054 panic("mock must not be nil. Use myMock := NewMockGitter().") 1055 } 1056 params := []pegomock.Param{_param0} 1057 result := pegomock.GetGenericMockFrom(mock).Invoke("IsVersionControlled", params, []reflect.Type{reflect.TypeOf((*bool)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1058 var ret0 bool 1059 var ret1 error 1060 if len(result) != 0 { 1061 if result[0] != nil { 1062 ret0 = result[0].(bool) 1063 } 1064 if result[1] != nil { 1065 ret1 = result[1].(error) 1066 } 1067 } 1068 return ret0, ret1 1069 } 1070 1071 func (mock *MockGitter) ListChangedFilesFromBranch(_param0 string, _param1 string) (string, error) { 1072 if mock == nil { 1073 panic("mock must not be nil. Use myMock := NewMockGitter().") 1074 } 1075 params := []pegomock.Param{_param0, _param1} 1076 result := pegomock.GetGenericMockFrom(mock).Invoke("ListChangedFilesFromBranch", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1077 var ret0 string 1078 var ret1 error 1079 if len(result) != 0 { 1080 if result[0] != nil { 1081 ret0 = result[0].(string) 1082 } 1083 if result[1] != nil { 1084 ret1 = result[1].(error) 1085 } 1086 } 1087 return ret0, ret1 1088 } 1089 1090 func (mock *MockGitter) LoadFileFromBranch(_param0 string, _param1 string, _param2 string) (string, error) { 1091 if mock == nil { 1092 panic("mock must not be nil. Use myMock := NewMockGitter().") 1093 } 1094 params := []pegomock.Param{_param0, _param1, _param2} 1095 result := pegomock.GetGenericMockFrom(mock).Invoke("LoadFileFromBranch", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1096 var ret0 string 1097 var ret1 error 1098 if len(result) != 0 { 1099 if result[0] != nil { 1100 ret0 = result[0].(string) 1101 } 1102 if result[1] != nil { 1103 ret1 = result[1].(error) 1104 } 1105 } 1106 return ret0, ret1 1107 } 1108 1109 func (mock *MockGitter) LocalBranches(_param0 string) ([]string, error) { 1110 if mock == nil { 1111 panic("mock must not be nil. Use myMock := NewMockGitter().") 1112 } 1113 params := []pegomock.Param{_param0} 1114 result := pegomock.GetGenericMockFrom(mock).Invoke("LocalBranches", params, []reflect.Type{reflect.TypeOf((*[]string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1115 var ret0 []string 1116 var ret1 error 1117 if len(result) != 0 { 1118 if result[0] != nil { 1119 ret0 = result[0].([]string) 1120 } 1121 if result[1] != nil { 1122 ret1 = result[1].(error) 1123 } 1124 } 1125 return ret0, ret1 1126 } 1127 1128 func (mock *MockGitter) Merge(_param0 string, _param1 string) error { 1129 if mock == nil { 1130 panic("mock must not be nil. Use myMock := NewMockGitter().") 1131 } 1132 params := []pegomock.Param{_param0, _param1} 1133 result := pegomock.GetGenericMockFrom(mock).Invoke("Merge", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1134 var ret0 error 1135 if len(result) != 0 { 1136 if result[0] != nil { 1137 ret0 = result[0].(error) 1138 } 1139 } 1140 return ret0 1141 } 1142 1143 func (mock *MockGitter) MergeTheirs(_param0 string, _param1 string) error { 1144 if mock == nil { 1145 panic("mock must not be nil. Use myMock := NewMockGitter().") 1146 } 1147 params := []pegomock.Param{_param0, _param1} 1148 result := pegomock.GetGenericMockFrom(mock).Invoke("MergeTheirs", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1149 var ret0 error 1150 if len(result) != 0 { 1151 if result[0] != nil { 1152 ret0 = result[0].(error) 1153 } 1154 } 1155 return ret0 1156 } 1157 1158 func (mock *MockGitter) PrintCreateRepositoryGenerateAccessToken(_param0 *auth.AuthServer, _param1 string, _param2 io.Writer) { 1159 if mock == nil { 1160 panic("mock must not be nil. Use myMock := NewMockGitter().") 1161 } 1162 params := []pegomock.Param{_param0, _param1, _param2} 1163 pegomock.GetGenericMockFrom(mock).Invoke("PrintCreateRepositoryGenerateAccessToken", params, []reflect.Type{}) 1164 } 1165 1166 func (mock *MockGitter) Pull(_param0 string) error { 1167 if mock == nil { 1168 panic("mock must not be nil. Use myMock := NewMockGitter().") 1169 } 1170 params := []pegomock.Param{_param0} 1171 result := pegomock.GetGenericMockFrom(mock).Invoke("Pull", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1172 var ret0 error 1173 if len(result) != 0 { 1174 if result[0] != nil { 1175 ret0 = result[0].(error) 1176 } 1177 } 1178 return ret0 1179 } 1180 1181 func (mock *MockGitter) PullRemoteBranches(_param0 string) error { 1182 if mock == nil { 1183 panic("mock must not be nil. Use myMock := NewMockGitter().") 1184 } 1185 params := []pegomock.Param{_param0} 1186 result := pegomock.GetGenericMockFrom(mock).Invoke("PullRemoteBranches", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1187 var ret0 error 1188 if len(result) != 0 { 1189 if result[0] != nil { 1190 ret0 = result[0].(error) 1191 } 1192 } 1193 return ret0 1194 } 1195 1196 func (mock *MockGitter) PullUpstream(_param0 string) error { 1197 if mock == nil { 1198 panic("mock must not be nil. Use myMock := NewMockGitter().") 1199 } 1200 params := []pegomock.Param{_param0} 1201 result := pegomock.GetGenericMockFrom(mock).Invoke("PullUpstream", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1202 var ret0 error 1203 if len(result) != 0 { 1204 if result[0] != nil { 1205 ret0 = result[0].(error) 1206 } 1207 } 1208 return ret0 1209 } 1210 1211 func (mock *MockGitter) Push(_param0 string, _param1 string, _param2 bool, _param3 ...string) error { 1212 if mock == nil { 1213 panic("mock must not be nil. Use myMock := NewMockGitter().") 1214 } 1215 params := []pegomock.Param{_param0, _param1, _param2} 1216 for _, param := range _param3 { 1217 params = append(params, param) 1218 } 1219 result := pegomock.GetGenericMockFrom(mock).Invoke("Push", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1220 var ret0 error 1221 if len(result) != 0 { 1222 if result[0] != nil { 1223 ret0 = result[0].(error) 1224 } 1225 } 1226 return ret0 1227 } 1228 1229 func (mock *MockGitter) PushMaster(_param0 string) error { 1230 if mock == nil { 1231 panic("mock must not be nil. Use myMock := NewMockGitter().") 1232 } 1233 params := []pegomock.Param{_param0} 1234 result := pegomock.GetGenericMockFrom(mock).Invoke("PushMaster", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1235 var ret0 error 1236 if len(result) != 0 { 1237 if result[0] != nil { 1238 ret0 = result[0].(error) 1239 } 1240 } 1241 return ret0 1242 } 1243 1244 func (mock *MockGitter) PushMirror(_param0 string, _param1 string) error { 1245 if mock == nil { 1246 panic("mock must not be nil. Use myMock := NewMockGitter().") 1247 } 1248 params := []pegomock.Param{_param0, _param1} 1249 result := pegomock.GetGenericMockFrom(mock).Invoke("PushMirror", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1250 var ret0 error 1251 if len(result) != 0 { 1252 if result[0] != nil { 1253 ret0 = result[0].(error) 1254 } 1255 } 1256 return ret0 1257 } 1258 1259 func (mock *MockGitter) PushTag(_param0 string, _param1 string) error { 1260 if mock == nil { 1261 panic("mock must not be nil. Use myMock := NewMockGitter().") 1262 } 1263 params := []pegomock.Param{_param0, _param1} 1264 result := pegomock.GetGenericMockFrom(mock).Invoke("PushTag", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1265 var ret0 error 1266 if len(result) != 0 { 1267 if result[0] != nil { 1268 ret0 = result[0].(error) 1269 } 1270 } 1271 return ret0 1272 } 1273 1274 func (mock *MockGitter) ReadRepoAttributes(_param0 string) (string, error) { 1275 if mock == nil { 1276 panic("mock must not be nil. Use myMock := NewMockGitter().") 1277 } 1278 params := []pegomock.Param{_param0} 1279 result := pegomock.GetGenericMockFrom(mock).Invoke("ReadRepoAttributes", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1280 var ret0 string 1281 var ret1 error 1282 if len(result) != 0 { 1283 if result[0] != nil { 1284 ret0 = result[0].(string) 1285 } 1286 if result[1] != nil { 1287 ret1 = result[1].(error) 1288 } 1289 } 1290 return ret0, ret1 1291 } 1292 1293 func (mock *MockGitter) RebaseTheirs(_param0 string, _param1 string, _param2 string, _param3 bool) error { 1294 if mock == nil { 1295 panic("mock must not be nil. Use myMock := NewMockGitter().") 1296 } 1297 params := []pegomock.Param{_param0, _param1, _param2, _param3} 1298 result := pegomock.GetGenericMockFrom(mock).Invoke("RebaseTheirs", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1299 var ret0 error 1300 if len(result) != 0 { 1301 if result[0] != nil { 1302 ret0 = result[0].(error) 1303 } 1304 } 1305 return ret0 1306 } 1307 1308 func (mock *MockGitter) RemoteBranchNames(_param0 string, _param1 string) ([]string, error) { 1309 if mock == nil { 1310 panic("mock must not be nil. Use myMock := NewMockGitter().") 1311 } 1312 params := []pegomock.Param{_param0, _param1} 1313 result := pegomock.GetGenericMockFrom(mock).Invoke("RemoteBranchNames", params, []reflect.Type{reflect.TypeOf((*[]string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1314 var ret0 []string 1315 var ret1 error 1316 if len(result) != 0 { 1317 if result[0] != nil { 1318 ret0 = result[0].([]string) 1319 } 1320 if result[1] != nil { 1321 ret1 = result[1].(error) 1322 } 1323 } 1324 return ret0, ret1 1325 } 1326 1327 func (mock *MockGitter) RemoteBranches(_param0 string) ([]string, error) { 1328 if mock == nil { 1329 panic("mock must not be nil. Use myMock := NewMockGitter().") 1330 } 1331 params := []pegomock.Param{_param0} 1332 result := pegomock.GetGenericMockFrom(mock).Invoke("RemoteBranches", params, []reflect.Type{reflect.TypeOf((*[]string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1333 var ret0 []string 1334 var ret1 error 1335 if len(result) != 0 { 1336 if result[0] != nil { 1337 ret0 = result[0].([]string) 1338 } 1339 if result[1] != nil { 1340 ret1 = result[1].(error) 1341 } 1342 } 1343 return ret0, ret1 1344 } 1345 1346 func (mock *MockGitter) RemoteMergedBranchNames(_param0 string, _param1 string) ([]string, error) { 1347 if mock == nil { 1348 panic("mock must not be nil. Use myMock := NewMockGitter().") 1349 } 1350 params := []pegomock.Param{_param0, _param1} 1351 result := pegomock.GetGenericMockFrom(mock).Invoke("RemoteMergedBranchNames", params, []reflect.Type{reflect.TypeOf((*[]string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1352 var ret0 []string 1353 var ret1 error 1354 if len(result) != 0 { 1355 if result[0] != nil { 1356 ret0 = result[0].([]string) 1357 } 1358 if result[1] != nil { 1359 ret1 = result[1].(error) 1360 } 1361 } 1362 return ret0, ret1 1363 } 1364 1365 func (mock *MockGitter) RemoteUpdate(_param0 string) error { 1366 if mock == nil { 1367 panic("mock must not be nil. Use myMock := NewMockGitter().") 1368 } 1369 params := []pegomock.Param{_param0} 1370 result := pegomock.GetGenericMockFrom(mock).Invoke("RemoteUpdate", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1371 var ret0 error 1372 if len(result) != 0 { 1373 if result[0] != nil { 1374 ret0 = result[0].(error) 1375 } 1376 } 1377 return ret0 1378 } 1379 1380 func (mock *MockGitter) Remotes(_param0 string) ([]string, error) { 1381 if mock == nil { 1382 panic("mock must not be nil. Use myMock := NewMockGitter().") 1383 } 1384 params := []pegomock.Param{_param0} 1385 result := pegomock.GetGenericMockFrom(mock).Invoke("Remotes", params, []reflect.Type{reflect.TypeOf((*[]string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1386 var ret0 []string 1387 var ret1 error 1388 if len(result) != 0 { 1389 if result[0] != nil { 1390 ret0 = result[0].([]string) 1391 } 1392 if result[1] != nil { 1393 ret1 = result[1].(error) 1394 } 1395 } 1396 return ret0, ret1 1397 } 1398 1399 func (mock *MockGitter) Remove(_param0 string, _param1 string) error { 1400 if mock == nil { 1401 panic("mock must not be nil. Use myMock := NewMockGitter().") 1402 } 1403 params := []pegomock.Param{_param0, _param1} 1404 result := pegomock.GetGenericMockFrom(mock).Invoke("Remove", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1405 var ret0 error 1406 if len(result) != 0 { 1407 if result[0] != nil { 1408 ret0 = result[0].(error) 1409 } 1410 } 1411 return ret0 1412 } 1413 1414 func (mock *MockGitter) RemoveForce(_param0 string, _param1 string) error { 1415 if mock == nil { 1416 panic("mock must not be nil. Use myMock := NewMockGitter().") 1417 } 1418 params := []pegomock.Param{_param0, _param1} 1419 result := pegomock.GetGenericMockFrom(mock).Invoke("RemoveForce", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1420 var ret0 error 1421 if len(result) != 0 { 1422 if result[0] != nil { 1423 ret0 = result[0].(error) 1424 } 1425 } 1426 return ret0 1427 } 1428 1429 func (mock *MockGitter) RepoName(_param0 string, _param1 string) string { 1430 if mock == nil { 1431 panic("mock must not be nil. Use myMock := NewMockGitter().") 1432 } 1433 params := []pegomock.Param{_param0, _param1} 1434 result := pegomock.GetGenericMockFrom(mock).Invoke("RepoName", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem()}) 1435 var ret0 string 1436 if len(result) != 0 { 1437 if result[0] != nil { 1438 ret0 = result[0].(string) 1439 } 1440 } 1441 return ret0 1442 } 1443 1444 func (mock *MockGitter) Reset(_param0 string, _param1 string, _param2 bool) error { 1445 if mock == nil { 1446 panic("mock must not be nil. Use myMock := NewMockGitter().") 1447 } 1448 params := []pegomock.Param{_param0, _param1, _param2} 1449 result := pegomock.GetGenericMockFrom(mock).Invoke("Reset", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1450 var ret0 error 1451 if len(result) != 0 { 1452 if result[0] != nil { 1453 ret0 = result[0].(error) 1454 } 1455 } 1456 return ret0 1457 } 1458 1459 func (mock *MockGitter) ResetToUpstream(_param0 string, _param1 string) error { 1460 if mock == nil { 1461 panic("mock must not be nil. Use myMock := NewMockGitter().") 1462 } 1463 params := []pegomock.Param{_param0, _param1} 1464 result := pegomock.GetGenericMockFrom(mock).Invoke("ResetToUpstream", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1465 var ret0 error 1466 if len(result) != 0 { 1467 if result[0] != nil { 1468 ret0 = result[0].(error) 1469 } 1470 } 1471 return ret0 1472 } 1473 1474 func (mock *MockGitter) RevParse(_param0 string, _param1 string) (string, error) { 1475 if mock == nil { 1476 panic("mock must not be nil. Use myMock := NewMockGitter().") 1477 } 1478 params := []pegomock.Param{_param0, _param1} 1479 result := pegomock.GetGenericMockFrom(mock).Invoke("RevParse", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1480 var ret0 string 1481 var ret1 error 1482 if len(result) != 0 { 1483 if result[0] != nil { 1484 ret0 = result[0].(string) 1485 } 1486 if result[1] != nil { 1487 ret1 = result[1].(error) 1488 } 1489 } 1490 return ret0, ret1 1491 } 1492 1493 func (mock *MockGitter) Server(_param0 string) (string, error) { 1494 if mock == nil { 1495 panic("mock must not be nil. Use myMock := NewMockGitter().") 1496 } 1497 params := []pegomock.Param{_param0} 1498 result := pegomock.GetGenericMockFrom(mock).Invoke("Server", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1499 var ret0 string 1500 var ret1 error 1501 if len(result) != 0 { 1502 if result[0] != nil { 1503 ret0 = result[0].(string) 1504 } 1505 if result[1] != nil { 1506 ret1 = result[1].(error) 1507 } 1508 } 1509 return ret0, ret1 1510 } 1511 1512 func (mock *MockGitter) SetEmail(_param0 string, _param1 string) error { 1513 if mock == nil { 1514 panic("mock must not be nil. Use myMock := NewMockGitter().") 1515 } 1516 params := []pegomock.Param{_param0, _param1} 1517 result := pegomock.GetGenericMockFrom(mock).Invoke("SetEmail", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1518 var ret0 error 1519 if len(result) != 0 { 1520 if result[0] != nil { 1521 ret0 = result[0].(error) 1522 } 1523 } 1524 return ret0 1525 } 1526 1527 func (mock *MockGitter) SetRemoteURL(_param0 string, _param1 string, _param2 string) error { 1528 if mock == nil { 1529 panic("mock must not be nil. Use myMock := NewMockGitter().") 1530 } 1531 params := []pegomock.Param{_param0, _param1, _param2} 1532 result := pegomock.GetGenericMockFrom(mock).Invoke("SetRemoteURL", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1533 var ret0 error 1534 if len(result) != 0 { 1535 if result[0] != nil { 1536 ret0 = result[0].(error) 1537 } 1538 } 1539 return ret0 1540 } 1541 1542 func (mock *MockGitter) SetUpstreamTo(_param0 string, _param1 string) error { 1543 if mock == nil { 1544 panic("mock must not be nil. Use myMock := NewMockGitter().") 1545 } 1546 params := []pegomock.Param{_param0, _param1} 1547 result := pegomock.GetGenericMockFrom(mock).Invoke("SetUpstreamTo", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1548 var ret0 error 1549 if len(result) != 0 { 1550 if result[0] != nil { 1551 ret0 = result[0].(error) 1552 } 1553 } 1554 return ret0 1555 } 1556 1557 func (mock *MockGitter) SetUsername(_param0 string, _param1 string) error { 1558 if mock == nil { 1559 panic("mock must not be nil. Use myMock := NewMockGitter().") 1560 } 1561 params := []pegomock.Param{_param0, _param1} 1562 result := pegomock.GetGenericMockFrom(mock).Invoke("SetUsername", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1563 var ret0 error 1564 if len(result) != 0 { 1565 if result[0] != nil { 1566 ret0 = result[0].(error) 1567 } 1568 } 1569 return ret0 1570 } 1571 1572 func (mock *MockGitter) ShallowClone(_param0 string, _param1 string, _param2 string, _param3 string) error { 1573 if mock == nil { 1574 panic("mock must not be nil. Use myMock := NewMockGitter().") 1575 } 1576 params := []pegomock.Param{_param0, _param1, _param2, _param3} 1577 result := pegomock.GetGenericMockFrom(mock).Invoke("ShallowClone", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1578 var ret0 error 1579 if len(result) != 0 { 1580 if result[0] != nil { 1581 ret0 = result[0].(error) 1582 } 1583 } 1584 return ret0 1585 } 1586 1587 func (mock *MockGitter) ShallowCloneBranch(_param0 string, _param1 string, _param2 string) error { 1588 if mock == nil { 1589 panic("mock must not be nil. Use myMock := NewMockGitter().") 1590 } 1591 params := []pegomock.Param{_param0, _param1, _param2} 1592 result := pegomock.GetGenericMockFrom(mock).Invoke("ShallowCloneBranch", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1593 var ret0 error 1594 if len(result) != 0 { 1595 if result[0] != nil { 1596 ret0 = result[0].(error) 1597 } 1598 } 1599 return ret0 1600 } 1601 1602 func (mock *MockGitter) StashPop(_param0 string) error { 1603 if mock == nil { 1604 panic("mock must not be nil. Use myMock := NewMockGitter().") 1605 } 1606 params := []pegomock.Param{_param0} 1607 result := pegomock.GetGenericMockFrom(mock).Invoke("StashPop", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1608 var ret0 error 1609 if len(result) != 0 { 1610 if result[0] != nil { 1611 ret0 = result[0].(error) 1612 } 1613 } 1614 return ret0 1615 } 1616 1617 func (mock *MockGitter) StashPush(_param0 string) error { 1618 if mock == nil { 1619 panic("mock must not be nil. Use myMock := NewMockGitter().") 1620 } 1621 params := []pegomock.Param{_param0} 1622 result := pegomock.GetGenericMockFrom(mock).Invoke("StashPush", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1623 var ret0 error 1624 if len(result) != 0 { 1625 if result[0] != nil { 1626 ret0 = result[0].(error) 1627 } 1628 } 1629 return ret0 1630 } 1631 1632 func (mock *MockGitter) Status(_param0 string) error { 1633 if mock == nil { 1634 panic("mock must not be nil. Use myMock := NewMockGitter().") 1635 } 1636 params := []pegomock.Param{_param0} 1637 result := pegomock.GetGenericMockFrom(mock).Invoke("Status", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1638 var ret0 error 1639 if len(result) != 0 { 1640 if result[0] != nil { 1641 ret0 = result[0].(error) 1642 } 1643 } 1644 return ret0 1645 } 1646 1647 func (mock *MockGitter) Tags(_param0 string) ([]string, error) { 1648 if mock == nil { 1649 panic("mock must not be nil. Use myMock := NewMockGitter().") 1650 } 1651 params := []pegomock.Param{_param0} 1652 result := pegomock.GetGenericMockFrom(mock).Invoke("Tags", params, []reflect.Type{reflect.TypeOf((*[]string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1653 var ret0 []string 1654 var ret1 error 1655 if len(result) != 0 { 1656 if result[0] != nil { 1657 ret0 = result[0].([]string) 1658 } 1659 if result[1] != nil { 1660 ret1 = result[1].(error) 1661 } 1662 } 1663 return ret0, ret1 1664 } 1665 1666 func (mock *MockGitter) UpdateRemote(_param0 string, _param1 string) error { 1667 if mock == nil { 1668 panic("mock must not be nil. Use myMock := NewMockGitter().") 1669 } 1670 params := []pegomock.Param{_param0, _param1} 1671 result := pegomock.GetGenericMockFrom(mock).Invoke("UpdateRemote", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1672 var ret0 error 1673 if len(result) != 0 { 1674 if result[0] != nil { 1675 ret0 = result[0].(error) 1676 } 1677 } 1678 return ret0 1679 } 1680 1681 func (mock *MockGitter) Username(_param0 string) (string, error) { 1682 if mock == nil { 1683 panic("mock must not be nil. Use myMock := NewMockGitter().") 1684 } 1685 params := []pegomock.Param{_param0} 1686 result := pegomock.GetGenericMockFrom(mock).Invoke("Username", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1687 var ret0 string 1688 var ret1 error 1689 if len(result) != 0 { 1690 if result[0] != nil { 1691 ret0 = result[0].(string) 1692 } 1693 if result[1] != nil { 1694 ret1 = result[1].(error) 1695 } 1696 } 1697 return ret0, ret1 1698 } 1699 1700 func (mock *MockGitter) Version() (string, error) { 1701 if mock == nil { 1702 panic("mock must not be nil. Use myMock := NewMockGitter().") 1703 } 1704 params := []pegomock.Param{} 1705 result := pegomock.GetGenericMockFrom(mock).Invoke("Version", params, []reflect.Type{reflect.TypeOf((*string)(nil)).Elem(), reflect.TypeOf((*error)(nil)).Elem()}) 1706 var ret0 string 1707 var ret1 error 1708 if len(result) != 0 { 1709 if result[0] != nil { 1710 ret0 = result[0].(string) 1711 } 1712 if result[1] != nil { 1713 ret1 = result[1].(error) 1714 } 1715 } 1716 return ret0, ret1 1717 } 1718 1719 func (mock *MockGitter) WriteRepoAttributes(_param0 string, _param1 string) error { 1720 if mock == nil { 1721 panic("mock must not be nil. Use myMock := NewMockGitter().") 1722 } 1723 params := []pegomock.Param{_param0, _param1} 1724 result := pegomock.GetGenericMockFrom(mock).Invoke("WriteRepoAttributes", params, []reflect.Type{reflect.TypeOf((*error)(nil)).Elem()}) 1725 var ret0 error 1726 if len(result) != 0 { 1727 if result[0] != nil { 1728 ret0 = result[0].(error) 1729 } 1730 } 1731 return ret0 1732 } 1733 1734 func (mock *MockGitter) VerifyWasCalledOnce() *VerifierMockGitter { 1735 return &VerifierMockGitter{ 1736 mock: mock, 1737 invocationCountMatcher: pegomock.Times(1), 1738 } 1739 } 1740 1741 func (mock *MockGitter) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockGitter { 1742 return &VerifierMockGitter{ 1743 mock: mock, 1744 invocationCountMatcher: invocationCountMatcher, 1745 } 1746 } 1747 1748 func (mock *MockGitter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockGitter { 1749 return &VerifierMockGitter{ 1750 mock: mock, 1751 invocationCountMatcher: invocationCountMatcher, 1752 inOrderContext: inOrderContext, 1753 } 1754 } 1755 1756 func (mock *MockGitter) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockGitter { 1757 return &VerifierMockGitter{ 1758 mock: mock, 1759 invocationCountMatcher: invocationCountMatcher, 1760 timeout: timeout, 1761 } 1762 } 1763 1764 type VerifierMockGitter struct { 1765 mock *MockGitter 1766 invocationCountMatcher pegomock.Matcher 1767 inOrderContext *pegomock.InOrderContext 1768 timeout time.Duration 1769 } 1770 1771 func (verifier *VerifierMockGitter) Add(_param0 string, _param1 ...string) *MockGitter_Add_OngoingVerification { 1772 params := []pegomock.Param{_param0} 1773 for _, param := range _param1 { 1774 params = append(params, param) 1775 } 1776 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Add", params, verifier.timeout) 1777 return &MockGitter_Add_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1778 } 1779 1780 type MockGitter_Add_OngoingVerification struct { 1781 mock *MockGitter 1782 methodInvocations []pegomock.MethodInvocation 1783 } 1784 1785 func (c *MockGitter_Add_OngoingVerification) GetCapturedArguments() (string, []string) { 1786 _param0, _param1 := c.GetAllCapturedArguments() 1787 return _param0[len(_param0)-1], _param1[len(_param1)-1] 1788 } 1789 1790 func (c *MockGitter_Add_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]string) { 1791 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1792 if len(params) > 0 { 1793 _param0 = make([]string, len(c.methodInvocations)) 1794 for u, param := range params[0] { 1795 _param0[u] = param.(string) 1796 } 1797 _param1 = make([][]string, len(c.methodInvocations)) 1798 for u := 0; u < len(c.methodInvocations); u++ { 1799 _param1[u] = make([]string, len(params)-1) 1800 for x := 1; x < len(params); x++ { 1801 if params[x][u] != nil { 1802 _param1[u][x-1] = params[x][u].(string) 1803 } 1804 } 1805 } 1806 } 1807 return 1808 } 1809 1810 func (verifier *VerifierMockGitter) AddCommit(_param0 string, _param1 string) *MockGitter_AddCommit_OngoingVerification { 1811 params := []pegomock.Param{_param0, _param1} 1812 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "AddCommit", params, verifier.timeout) 1813 return &MockGitter_AddCommit_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1814 } 1815 1816 type MockGitter_AddCommit_OngoingVerification struct { 1817 mock *MockGitter 1818 methodInvocations []pegomock.MethodInvocation 1819 } 1820 1821 func (c *MockGitter_AddCommit_OngoingVerification) GetCapturedArguments() (string, string) { 1822 _param0, _param1 := c.GetAllCapturedArguments() 1823 return _param0[len(_param0)-1], _param1[len(_param1)-1] 1824 } 1825 1826 func (c *MockGitter_AddCommit_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 1827 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1828 if len(params) > 0 { 1829 _param0 = make([]string, len(c.methodInvocations)) 1830 for u, param := range params[0] { 1831 _param0[u] = param.(string) 1832 } 1833 _param1 = make([]string, len(c.methodInvocations)) 1834 for u, param := range params[1] { 1835 _param1[u] = param.(string) 1836 } 1837 } 1838 return 1839 } 1840 1841 func (verifier *VerifierMockGitter) AddCommitFiles(_param0 string, _param1 string, _param2 []string) *MockGitter_AddCommitFiles_OngoingVerification { 1842 params := []pegomock.Param{_param0, _param1, _param2} 1843 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "AddCommitFiles", params, verifier.timeout) 1844 return &MockGitter_AddCommitFiles_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1845 } 1846 1847 type MockGitter_AddCommitFiles_OngoingVerification struct { 1848 mock *MockGitter 1849 methodInvocations []pegomock.MethodInvocation 1850 } 1851 1852 func (c *MockGitter_AddCommitFiles_OngoingVerification) GetCapturedArguments() (string, string, []string) { 1853 _param0, _param1, _param2 := c.GetAllCapturedArguments() 1854 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 1855 } 1856 1857 func (c *MockGitter_AddCommitFiles_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 [][]string) { 1858 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1859 if len(params) > 0 { 1860 _param0 = make([]string, len(c.methodInvocations)) 1861 for u, param := range params[0] { 1862 _param0[u] = param.(string) 1863 } 1864 _param1 = make([]string, len(c.methodInvocations)) 1865 for u, param := range params[1] { 1866 _param1[u] = param.(string) 1867 } 1868 _param2 = make([][]string, len(c.methodInvocations)) 1869 for u, param := range params[2] { 1870 _param2[u] = param.([]string) 1871 } 1872 } 1873 return 1874 } 1875 1876 func (verifier *VerifierMockGitter) AddRemote(_param0 string, _param1 string, _param2 string) *MockGitter_AddRemote_OngoingVerification { 1877 params := []pegomock.Param{_param0, _param1, _param2} 1878 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "AddRemote", params, verifier.timeout) 1879 return &MockGitter_AddRemote_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1880 } 1881 1882 type MockGitter_AddRemote_OngoingVerification struct { 1883 mock *MockGitter 1884 methodInvocations []pegomock.MethodInvocation 1885 } 1886 1887 func (c *MockGitter_AddRemote_OngoingVerification) GetCapturedArguments() (string, string, string) { 1888 _param0, _param1, _param2 := c.GetAllCapturedArguments() 1889 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 1890 } 1891 1892 func (c *MockGitter_AddRemote_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) { 1893 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1894 if len(params) > 0 { 1895 _param0 = make([]string, len(c.methodInvocations)) 1896 for u, param := range params[0] { 1897 _param0[u] = param.(string) 1898 } 1899 _param1 = make([]string, len(c.methodInvocations)) 1900 for u, param := range params[1] { 1901 _param1[u] = param.(string) 1902 } 1903 _param2 = make([]string, len(c.methodInvocations)) 1904 for u, param := range params[2] { 1905 _param2[u] = param.(string) 1906 } 1907 } 1908 return 1909 } 1910 1911 func (verifier *VerifierMockGitter) Branch(_param0 string) *MockGitter_Branch_OngoingVerification { 1912 params := []pegomock.Param{_param0} 1913 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Branch", params, verifier.timeout) 1914 return &MockGitter_Branch_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1915 } 1916 1917 type MockGitter_Branch_OngoingVerification struct { 1918 mock *MockGitter 1919 methodInvocations []pegomock.MethodInvocation 1920 } 1921 1922 func (c *MockGitter_Branch_OngoingVerification) GetCapturedArguments() string { 1923 _param0 := c.GetAllCapturedArguments() 1924 return _param0[len(_param0)-1] 1925 } 1926 1927 func (c *MockGitter_Branch_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 1928 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1929 if len(params) > 0 { 1930 _param0 = make([]string, len(c.methodInvocations)) 1931 for u, param := range params[0] { 1932 _param0[u] = param.(string) 1933 } 1934 } 1935 return 1936 } 1937 1938 func (verifier *VerifierMockGitter) Checkout(_param0 string, _param1 string) *MockGitter_Checkout_OngoingVerification { 1939 params := []pegomock.Param{_param0, _param1} 1940 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Checkout", params, verifier.timeout) 1941 return &MockGitter_Checkout_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1942 } 1943 1944 type MockGitter_Checkout_OngoingVerification struct { 1945 mock *MockGitter 1946 methodInvocations []pegomock.MethodInvocation 1947 } 1948 1949 func (c *MockGitter_Checkout_OngoingVerification) GetCapturedArguments() (string, string) { 1950 _param0, _param1 := c.GetAllCapturedArguments() 1951 return _param0[len(_param0)-1], _param1[len(_param1)-1] 1952 } 1953 1954 func (c *MockGitter_Checkout_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 1955 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1956 if len(params) > 0 { 1957 _param0 = make([]string, len(c.methodInvocations)) 1958 for u, param := range params[0] { 1959 _param0[u] = param.(string) 1960 } 1961 _param1 = make([]string, len(c.methodInvocations)) 1962 for u, param := range params[1] { 1963 _param1[u] = param.(string) 1964 } 1965 } 1966 return 1967 } 1968 1969 func (verifier *VerifierMockGitter) CheckoutCommitFiles(_param0 string, _param1 string, _param2 []string) *MockGitter_CheckoutCommitFiles_OngoingVerification { 1970 params := []pegomock.Param{_param0, _param1, _param2} 1971 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CheckoutCommitFiles", params, verifier.timeout) 1972 return &MockGitter_CheckoutCommitFiles_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 1973 } 1974 1975 type MockGitter_CheckoutCommitFiles_OngoingVerification struct { 1976 mock *MockGitter 1977 methodInvocations []pegomock.MethodInvocation 1978 } 1979 1980 func (c *MockGitter_CheckoutCommitFiles_OngoingVerification) GetCapturedArguments() (string, string, []string) { 1981 _param0, _param1, _param2 := c.GetAllCapturedArguments() 1982 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 1983 } 1984 1985 func (c *MockGitter_CheckoutCommitFiles_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 [][]string) { 1986 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 1987 if len(params) > 0 { 1988 _param0 = make([]string, len(c.methodInvocations)) 1989 for u, param := range params[0] { 1990 _param0[u] = param.(string) 1991 } 1992 _param1 = make([]string, len(c.methodInvocations)) 1993 for u, param := range params[1] { 1994 _param1[u] = param.(string) 1995 } 1996 _param2 = make([][]string, len(c.methodInvocations)) 1997 for u, param := range params[2] { 1998 _param2[u] = param.([]string) 1999 } 2000 } 2001 return 2002 } 2003 2004 func (verifier *VerifierMockGitter) CheckoutOrphan(_param0 string, _param1 string) *MockGitter_CheckoutOrphan_OngoingVerification { 2005 params := []pegomock.Param{_param0, _param1} 2006 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CheckoutOrphan", params, verifier.timeout) 2007 return &MockGitter_CheckoutOrphan_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2008 } 2009 2010 type MockGitter_CheckoutOrphan_OngoingVerification struct { 2011 mock *MockGitter 2012 methodInvocations []pegomock.MethodInvocation 2013 } 2014 2015 func (c *MockGitter_CheckoutOrphan_OngoingVerification) GetCapturedArguments() (string, string) { 2016 _param0, _param1 := c.GetAllCapturedArguments() 2017 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2018 } 2019 2020 func (c *MockGitter_CheckoutOrphan_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2021 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2022 if len(params) > 0 { 2023 _param0 = make([]string, len(c.methodInvocations)) 2024 for u, param := range params[0] { 2025 _param0[u] = param.(string) 2026 } 2027 _param1 = make([]string, len(c.methodInvocations)) 2028 for u, param := range params[1] { 2029 _param1[u] = param.(string) 2030 } 2031 } 2032 return 2033 } 2034 2035 func (verifier *VerifierMockGitter) CheckoutRemoteBranch(_param0 string, _param1 string) *MockGitter_CheckoutRemoteBranch_OngoingVerification { 2036 params := []pegomock.Param{_param0, _param1} 2037 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CheckoutRemoteBranch", params, verifier.timeout) 2038 return &MockGitter_CheckoutRemoteBranch_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2039 } 2040 2041 type MockGitter_CheckoutRemoteBranch_OngoingVerification struct { 2042 mock *MockGitter 2043 methodInvocations []pegomock.MethodInvocation 2044 } 2045 2046 func (c *MockGitter_CheckoutRemoteBranch_OngoingVerification) GetCapturedArguments() (string, string) { 2047 _param0, _param1 := c.GetAllCapturedArguments() 2048 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2049 } 2050 2051 func (c *MockGitter_CheckoutRemoteBranch_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2052 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2053 if len(params) > 0 { 2054 _param0 = make([]string, len(c.methodInvocations)) 2055 for u, param := range params[0] { 2056 _param0[u] = param.(string) 2057 } 2058 _param1 = make([]string, len(c.methodInvocations)) 2059 for u, param := range params[1] { 2060 _param1[u] = param.(string) 2061 } 2062 } 2063 return 2064 } 2065 2066 func (verifier *VerifierMockGitter) CherryPick(_param0 string, _param1 string) *MockGitter_CherryPick_OngoingVerification { 2067 params := []pegomock.Param{_param0, _param1} 2068 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CherryPick", params, verifier.timeout) 2069 return &MockGitter_CherryPick_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2070 } 2071 2072 type MockGitter_CherryPick_OngoingVerification struct { 2073 mock *MockGitter 2074 methodInvocations []pegomock.MethodInvocation 2075 } 2076 2077 func (c *MockGitter_CherryPick_OngoingVerification) GetCapturedArguments() (string, string) { 2078 _param0, _param1 := c.GetAllCapturedArguments() 2079 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2080 } 2081 2082 func (c *MockGitter_CherryPick_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2083 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2084 if len(params) > 0 { 2085 _param0 = make([]string, len(c.methodInvocations)) 2086 for u, param := range params[0] { 2087 _param0[u] = param.(string) 2088 } 2089 _param1 = make([]string, len(c.methodInvocations)) 2090 for u, param := range params[1] { 2091 _param1[u] = param.(string) 2092 } 2093 } 2094 return 2095 } 2096 2097 func (verifier *VerifierMockGitter) CherryPickTheirs(_param0 string, _param1 string) *MockGitter_CherryPickTheirs_OngoingVerification { 2098 params := []pegomock.Param{_param0, _param1} 2099 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CherryPickTheirs", params, verifier.timeout) 2100 return &MockGitter_CherryPickTheirs_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2101 } 2102 2103 type MockGitter_CherryPickTheirs_OngoingVerification struct { 2104 mock *MockGitter 2105 methodInvocations []pegomock.MethodInvocation 2106 } 2107 2108 func (c *MockGitter_CherryPickTheirs_OngoingVerification) GetCapturedArguments() (string, string) { 2109 _param0, _param1 := c.GetAllCapturedArguments() 2110 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2111 } 2112 2113 func (c *MockGitter_CherryPickTheirs_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2114 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2115 if len(params) > 0 { 2116 _param0 = make([]string, len(c.methodInvocations)) 2117 for u, param := range params[0] { 2118 _param0[u] = param.(string) 2119 } 2120 _param1 = make([]string, len(c.methodInvocations)) 2121 for u, param := range params[1] { 2122 _param1[u] = param.(string) 2123 } 2124 } 2125 return 2126 } 2127 2128 func (verifier *VerifierMockGitter) CherryPickTheirsKeepRedundantCommits(_param0 string, _param1 string) *MockGitter_CherryPickTheirsKeepRedundantCommits_OngoingVerification { 2129 params := []pegomock.Param{_param0, _param1} 2130 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CherryPickTheirsKeepRedundantCommits", params, verifier.timeout) 2131 return &MockGitter_CherryPickTheirsKeepRedundantCommits_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2132 } 2133 2134 type MockGitter_CherryPickTheirsKeepRedundantCommits_OngoingVerification struct { 2135 mock *MockGitter 2136 methodInvocations []pegomock.MethodInvocation 2137 } 2138 2139 func (c *MockGitter_CherryPickTheirsKeepRedundantCommits_OngoingVerification) GetCapturedArguments() (string, string) { 2140 _param0, _param1 := c.GetAllCapturedArguments() 2141 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2142 } 2143 2144 func (c *MockGitter_CherryPickTheirsKeepRedundantCommits_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2145 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2146 if len(params) > 0 { 2147 _param0 = make([]string, len(c.methodInvocations)) 2148 for u, param := range params[0] { 2149 _param0[u] = param.(string) 2150 } 2151 _param1 = make([]string, len(c.methodInvocations)) 2152 for u, param := range params[1] { 2153 _param1[u] = param.(string) 2154 } 2155 } 2156 return 2157 } 2158 2159 func (verifier *VerifierMockGitter) CleanForce(_param0 string, _param1 string) *MockGitter_CleanForce_OngoingVerification { 2160 params := []pegomock.Param{_param0, _param1} 2161 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CleanForce", params, verifier.timeout) 2162 return &MockGitter_CleanForce_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2163 } 2164 2165 type MockGitter_CleanForce_OngoingVerification struct { 2166 mock *MockGitter 2167 methodInvocations []pegomock.MethodInvocation 2168 } 2169 2170 func (c *MockGitter_CleanForce_OngoingVerification) GetCapturedArguments() (string, string) { 2171 _param0, _param1 := c.GetAllCapturedArguments() 2172 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2173 } 2174 2175 func (c *MockGitter_CleanForce_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2176 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2177 if len(params) > 0 { 2178 _param0 = make([]string, len(c.methodInvocations)) 2179 for u, param := range params[0] { 2180 _param0[u] = param.(string) 2181 } 2182 _param1 = make([]string, len(c.methodInvocations)) 2183 for u, param := range params[1] { 2184 _param1[u] = param.(string) 2185 } 2186 } 2187 return 2188 } 2189 2190 func (verifier *VerifierMockGitter) Clone(_param0 string, _param1 string) *MockGitter_Clone_OngoingVerification { 2191 params := []pegomock.Param{_param0, _param1} 2192 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Clone", params, verifier.timeout) 2193 return &MockGitter_Clone_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2194 } 2195 2196 type MockGitter_Clone_OngoingVerification struct { 2197 mock *MockGitter 2198 methodInvocations []pegomock.MethodInvocation 2199 } 2200 2201 func (c *MockGitter_Clone_OngoingVerification) GetCapturedArguments() (string, string) { 2202 _param0, _param1 := c.GetAllCapturedArguments() 2203 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2204 } 2205 2206 func (c *MockGitter_Clone_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2207 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2208 if len(params) > 0 { 2209 _param0 = make([]string, len(c.methodInvocations)) 2210 for u, param := range params[0] { 2211 _param0[u] = param.(string) 2212 } 2213 _param1 = make([]string, len(c.methodInvocations)) 2214 for u, param := range params[1] { 2215 _param1[u] = param.(string) 2216 } 2217 } 2218 return 2219 } 2220 2221 func (verifier *VerifierMockGitter) CloneBare(_param0 string, _param1 string) *MockGitter_CloneBare_OngoingVerification { 2222 params := []pegomock.Param{_param0, _param1} 2223 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CloneBare", params, verifier.timeout) 2224 return &MockGitter_CloneBare_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2225 } 2226 2227 type MockGitter_CloneBare_OngoingVerification struct { 2228 mock *MockGitter 2229 methodInvocations []pegomock.MethodInvocation 2230 } 2231 2232 func (c *MockGitter_CloneBare_OngoingVerification) GetCapturedArguments() (string, string) { 2233 _param0, _param1 := c.GetAllCapturedArguments() 2234 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2235 } 2236 2237 func (c *MockGitter_CloneBare_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2238 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2239 if len(params) > 0 { 2240 _param0 = make([]string, len(c.methodInvocations)) 2241 for u, param := range params[0] { 2242 _param0[u] = param.(string) 2243 } 2244 _param1 = make([]string, len(c.methodInvocations)) 2245 for u, param := range params[1] { 2246 _param1[u] = param.(string) 2247 } 2248 } 2249 return 2250 } 2251 2252 func (verifier *VerifierMockGitter) CloneOrPull(_param0 string, _param1 string) *MockGitter_CloneOrPull_OngoingVerification { 2253 params := []pegomock.Param{_param0, _param1} 2254 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CloneOrPull", params, verifier.timeout) 2255 return &MockGitter_CloneOrPull_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2256 } 2257 2258 type MockGitter_CloneOrPull_OngoingVerification struct { 2259 mock *MockGitter 2260 methodInvocations []pegomock.MethodInvocation 2261 } 2262 2263 func (c *MockGitter_CloneOrPull_OngoingVerification) GetCapturedArguments() (string, string) { 2264 _param0, _param1 := c.GetAllCapturedArguments() 2265 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2266 } 2267 2268 func (c *MockGitter_CloneOrPull_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2269 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2270 if len(params) > 0 { 2271 _param0 = make([]string, len(c.methodInvocations)) 2272 for u, param := range params[0] { 2273 _param0[u] = param.(string) 2274 } 2275 _param1 = make([]string, len(c.methodInvocations)) 2276 for u, param := range params[1] { 2277 _param1[u] = param.(string) 2278 } 2279 } 2280 return 2281 } 2282 2283 func (verifier *VerifierMockGitter) CommitDir(_param0 string, _param1 string) *MockGitter_CommitDir_OngoingVerification { 2284 params := []pegomock.Param{_param0, _param1} 2285 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CommitDir", params, verifier.timeout) 2286 return &MockGitter_CommitDir_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2287 } 2288 2289 type MockGitter_CommitDir_OngoingVerification struct { 2290 mock *MockGitter 2291 methodInvocations []pegomock.MethodInvocation 2292 } 2293 2294 func (c *MockGitter_CommitDir_OngoingVerification) GetCapturedArguments() (string, string) { 2295 _param0, _param1 := c.GetAllCapturedArguments() 2296 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2297 } 2298 2299 func (c *MockGitter_CommitDir_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2300 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2301 if len(params) > 0 { 2302 _param0 = make([]string, len(c.methodInvocations)) 2303 for u, param := range params[0] { 2304 _param0[u] = param.(string) 2305 } 2306 _param1 = make([]string, len(c.methodInvocations)) 2307 for u, param := range params[1] { 2308 _param1[u] = param.(string) 2309 } 2310 } 2311 return 2312 } 2313 2314 func (verifier *VerifierMockGitter) CommitIfChanges(_param0 string, _param1 string) *MockGitter_CommitIfChanges_OngoingVerification { 2315 params := []pegomock.Param{_param0, _param1} 2316 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CommitIfChanges", params, verifier.timeout) 2317 return &MockGitter_CommitIfChanges_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2318 } 2319 2320 type MockGitter_CommitIfChanges_OngoingVerification struct { 2321 mock *MockGitter 2322 methodInvocations []pegomock.MethodInvocation 2323 } 2324 2325 func (c *MockGitter_CommitIfChanges_OngoingVerification) GetCapturedArguments() (string, string) { 2326 _param0, _param1 := c.GetAllCapturedArguments() 2327 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2328 } 2329 2330 func (c *MockGitter_CommitIfChanges_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2331 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2332 if len(params) > 0 { 2333 _param0 = make([]string, len(c.methodInvocations)) 2334 for u, param := range params[0] { 2335 _param0[u] = param.(string) 2336 } 2337 _param1 = make([]string, len(c.methodInvocations)) 2338 for u, param := range params[1] { 2339 _param1[u] = param.(string) 2340 } 2341 } 2342 return 2343 } 2344 2345 func (verifier *VerifierMockGitter) Config(_param0 string, _param1 ...string) *MockGitter_Config_OngoingVerification { 2346 params := []pegomock.Param{_param0} 2347 for _, param := range _param1 { 2348 params = append(params, param) 2349 } 2350 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Config", params, verifier.timeout) 2351 return &MockGitter_Config_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2352 } 2353 2354 type MockGitter_Config_OngoingVerification struct { 2355 mock *MockGitter 2356 methodInvocations []pegomock.MethodInvocation 2357 } 2358 2359 func (c *MockGitter_Config_OngoingVerification) GetCapturedArguments() (string, []string) { 2360 _param0, _param1 := c.GetAllCapturedArguments() 2361 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2362 } 2363 2364 func (c *MockGitter_Config_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]string) { 2365 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2366 if len(params) > 0 { 2367 _param0 = make([]string, len(c.methodInvocations)) 2368 for u, param := range params[0] { 2369 _param0[u] = param.(string) 2370 } 2371 _param1 = make([][]string, len(c.methodInvocations)) 2372 for u := 0; u < len(c.methodInvocations); u++ { 2373 _param1[u] = make([]string, len(params)-1) 2374 for x := 1; x < len(params); x++ { 2375 if params[x][u] != nil { 2376 _param1[u][x-1] = params[x][u].(string) 2377 } 2378 } 2379 } 2380 } 2381 return 2382 } 2383 2384 func (verifier *VerifierMockGitter) ConvertToValidBranchName(_param0 string) *MockGitter_ConvertToValidBranchName_OngoingVerification { 2385 params := []pegomock.Param{_param0} 2386 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "ConvertToValidBranchName", params, verifier.timeout) 2387 return &MockGitter_ConvertToValidBranchName_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2388 } 2389 2390 type MockGitter_ConvertToValidBranchName_OngoingVerification struct { 2391 mock *MockGitter 2392 methodInvocations []pegomock.MethodInvocation 2393 } 2394 2395 func (c *MockGitter_ConvertToValidBranchName_OngoingVerification) GetCapturedArguments() string { 2396 _param0 := c.GetAllCapturedArguments() 2397 return _param0[len(_param0)-1] 2398 } 2399 2400 func (c *MockGitter_ConvertToValidBranchName_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 2401 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2402 if len(params) > 0 { 2403 _param0 = make([]string, len(c.methodInvocations)) 2404 for u, param := range params[0] { 2405 _param0[u] = param.(string) 2406 } 2407 } 2408 return 2409 } 2410 2411 func (verifier *VerifierMockGitter) CreateAuthenticatedURL(_param0 string, _param1 *auth.UserAuth) *MockGitter_CreateAuthenticatedURL_OngoingVerification { 2412 params := []pegomock.Param{_param0, _param1} 2413 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateAuthenticatedURL", params, verifier.timeout) 2414 return &MockGitter_CreateAuthenticatedURL_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2415 } 2416 2417 type MockGitter_CreateAuthenticatedURL_OngoingVerification struct { 2418 mock *MockGitter 2419 methodInvocations []pegomock.MethodInvocation 2420 } 2421 2422 func (c *MockGitter_CreateAuthenticatedURL_OngoingVerification) GetCapturedArguments() (string, *auth.UserAuth) { 2423 _param0, _param1 := c.GetAllCapturedArguments() 2424 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2425 } 2426 2427 func (c *MockGitter_CreateAuthenticatedURL_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []*auth.UserAuth) { 2428 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2429 if len(params) > 0 { 2430 _param0 = make([]string, len(c.methodInvocations)) 2431 for u, param := range params[0] { 2432 _param0[u] = param.(string) 2433 } 2434 _param1 = make([]*auth.UserAuth, len(c.methodInvocations)) 2435 for u, param := range params[1] { 2436 _param1[u] = param.(*auth.UserAuth) 2437 } 2438 } 2439 return 2440 } 2441 2442 func (verifier *VerifierMockGitter) CreateBranch(_param0 string, _param1 string) *MockGitter_CreateBranch_OngoingVerification { 2443 params := []pegomock.Param{_param0, _param1} 2444 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateBranch", params, verifier.timeout) 2445 return &MockGitter_CreateBranch_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2446 } 2447 2448 type MockGitter_CreateBranch_OngoingVerification struct { 2449 mock *MockGitter 2450 methodInvocations []pegomock.MethodInvocation 2451 } 2452 2453 func (c *MockGitter_CreateBranch_OngoingVerification) GetCapturedArguments() (string, string) { 2454 _param0, _param1 := c.GetAllCapturedArguments() 2455 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2456 } 2457 2458 func (c *MockGitter_CreateBranch_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2459 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2460 if len(params) > 0 { 2461 _param0 = make([]string, len(c.methodInvocations)) 2462 for u, param := range params[0] { 2463 _param0[u] = param.(string) 2464 } 2465 _param1 = make([]string, len(c.methodInvocations)) 2466 for u, param := range params[1] { 2467 _param1[u] = param.(string) 2468 } 2469 } 2470 return 2471 } 2472 2473 func (verifier *VerifierMockGitter) CreateBranchFrom(_param0 string, _param1 string, _param2 string) *MockGitter_CreateBranchFrom_OngoingVerification { 2474 params := []pegomock.Param{_param0, _param1, _param2} 2475 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateBranchFrom", params, verifier.timeout) 2476 return &MockGitter_CreateBranchFrom_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2477 } 2478 2479 type MockGitter_CreateBranchFrom_OngoingVerification struct { 2480 mock *MockGitter 2481 methodInvocations []pegomock.MethodInvocation 2482 } 2483 2484 func (c *MockGitter_CreateBranchFrom_OngoingVerification) GetCapturedArguments() (string, string, string) { 2485 _param0, _param1, _param2 := c.GetAllCapturedArguments() 2486 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 2487 } 2488 2489 func (c *MockGitter_CreateBranchFrom_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) { 2490 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2491 if len(params) > 0 { 2492 _param0 = make([]string, len(c.methodInvocations)) 2493 for u, param := range params[0] { 2494 _param0[u] = param.(string) 2495 } 2496 _param1 = make([]string, len(c.methodInvocations)) 2497 for u, param := range params[1] { 2498 _param1[u] = param.(string) 2499 } 2500 _param2 = make([]string, len(c.methodInvocations)) 2501 for u, param := range params[2] { 2502 _param2[u] = param.(string) 2503 } 2504 } 2505 return 2506 } 2507 2508 func (verifier *VerifierMockGitter) CreateTag(_param0 string, _param1 string, _param2 string) *MockGitter_CreateTag_OngoingVerification { 2509 params := []pegomock.Param{_param0, _param1, _param2} 2510 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "CreateTag", params, verifier.timeout) 2511 return &MockGitter_CreateTag_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2512 } 2513 2514 type MockGitter_CreateTag_OngoingVerification struct { 2515 mock *MockGitter 2516 methodInvocations []pegomock.MethodInvocation 2517 } 2518 2519 func (c *MockGitter_CreateTag_OngoingVerification) GetCapturedArguments() (string, string, string) { 2520 _param0, _param1, _param2 := c.GetAllCapturedArguments() 2521 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 2522 } 2523 2524 func (c *MockGitter_CreateTag_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) { 2525 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2526 if len(params) > 0 { 2527 _param0 = make([]string, len(c.methodInvocations)) 2528 for u, param := range params[0] { 2529 _param0[u] = param.(string) 2530 } 2531 _param1 = make([]string, len(c.methodInvocations)) 2532 for u, param := range params[1] { 2533 _param1[u] = param.(string) 2534 } 2535 _param2 = make([]string, len(c.methodInvocations)) 2536 for u, param := range params[2] { 2537 _param2[u] = param.(string) 2538 } 2539 } 2540 return 2541 } 2542 2543 func (verifier *VerifierMockGitter) DeleteLocalBranch(_param0 string, _param1 string) *MockGitter_DeleteLocalBranch_OngoingVerification { 2544 params := []pegomock.Param{_param0, _param1} 2545 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "DeleteLocalBranch", params, verifier.timeout) 2546 return &MockGitter_DeleteLocalBranch_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2547 } 2548 2549 type MockGitter_DeleteLocalBranch_OngoingVerification struct { 2550 mock *MockGitter 2551 methodInvocations []pegomock.MethodInvocation 2552 } 2553 2554 func (c *MockGitter_DeleteLocalBranch_OngoingVerification) GetCapturedArguments() (string, string) { 2555 _param0, _param1 := c.GetAllCapturedArguments() 2556 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2557 } 2558 2559 func (c *MockGitter_DeleteLocalBranch_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2560 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2561 if len(params) > 0 { 2562 _param0 = make([]string, len(c.methodInvocations)) 2563 for u, param := range params[0] { 2564 _param0[u] = param.(string) 2565 } 2566 _param1 = make([]string, len(c.methodInvocations)) 2567 for u, param := range params[1] { 2568 _param1[u] = param.(string) 2569 } 2570 } 2571 return 2572 } 2573 2574 func (verifier *VerifierMockGitter) DeleteRemoteBranch(_param0 string, _param1 string, _param2 string) *MockGitter_DeleteRemoteBranch_OngoingVerification { 2575 params := []pegomock.Param{_param0, _param1, _param2} 2576 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "DeleteRemoteBranch", params, verifier.timeout) 2577 return &MockGitter_DeleteRemoteBranch_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2578 } 2579 2580 type MockGitter_DeleteRemoteBranch_OngoingVerification struct { 2581 mock *MockGitter 2582 methodInvocations []pegomock.MethodInvocation 2583 } 2584 2585 func (c *MockGitter_DeleteRemoteBranch_OngoingVerification) GetCapturedArguments() (string, string, string) { 2586 _param0, _param1, _param2 := c.GetAllCapturedArguments() 2587 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 2588 } 2589 2590 func (c *MockGitter_DeleteRemoteBranch_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) { 2591 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2592 if len(params) > 0 { 2593 _param0 = make([]string, len(c.methodInvocations)) 2594 for u, param := range params[0] { 2595 _param0[u] = param.(string) 2596 } 2597 _param1 = make([]string, len(c.methodInvocations)) 2598 for u, param := range params[1] { 2599 _param1[u] = param.(string) 2600 } 2601 _param2 = make([]string, len(c.methodInvocations)) 2602 for u, param := range params[2] { 2603 _param2[u] = param.(string) 2604 } 2605 } 2606 return 2607 } 2608 2609 func (verifier *VerifierMockGitter) Describe(_param0 string, _param1 bool, _param2 string, _param3 string, _param4 bool) *MockGitter_Describe_OngoingVerification { 2610 params := []pegomock.Param{_param0, _param1, _param2, _param3, _param4} 2611 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Describe", params, verifier.timeout) 2612 return &MockGitter_Describe_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2613 } 2614 2615 type MockGitter_Describe_OngoingVerification struct { 2616 mock *MockGitter 2617 methodInvocations []pegomock.MethodInvocation 2618 } 2619 2620 func (c *MockGitter_Describe_OngoingVerification) GetCapturedArguments() (string, bool, string, string, bool) { 2621 _param0, _param1, _param2, _param3, _param4 := c.GetAllCapturedArguments() 2622 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1], _param3[len(_param3)-1], _param4[len(_param4)-1] 2623 } 2624 2625 func (c *MockGitter_Describe_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []bool, _param2 []string, _param3 []string, _param4 []bool) { 2626 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2627 if len(params) > 0 { 2628 _param0 = make([]string, len(c.methodInvocations)) 2629 for u, param := range params[0] { 2630 _param0[u] = param.(string) 2631 } 2632 _param1 = make([]bool, len(c.methodInvocations)) 2633 for u, param := range params[1] { 2634 _param1[u] = param.(bool) 2635 } 2636 _param2 = make([]string, len(c.methodInvocations)) 2637 for u, param := range params[2] { 2638 _param2[u] = param.(string) 2639 } 2640 _param3 = make([]string, len(c.methodInvocations)) 2641 for u, param := range params[3] { 2642 _param3[u] = param.(string) 2643 } 2644 _param4 = make([]bool, len(c.methodInvocations)) 2645 for u, param := range params[4] { 2646 _param4[u] = param.(bool) 2647 } 2648 } 2649 return 2650 } 2651 2652 func (verifier *VerifierMockGitter) Diff(_param0 string) *MockGitter_Diff_OngoingVerification { 2653 params := []pegomock.Param{_param0} 2654 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Diff", params, verifier.timeout) 2655 return &MockGitter_Diff_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2656 } 2657 2658 type MockGitter_Diff_OngoingVerification struct { 2659 mock *MockGitter 2660 methodInvocations []pegomock.MethodInvocation 2661 } 2662 2663 func (c *MockGitter_Diff_OngoingVerification) GetCapturedArguments() string { 2664 _param0 := c.GetAllCapturedArguments() 2665 return _param0[len(_param0)-1] 2666 } 2667 2668 func (c *MockGitter_Diff_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 2669 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2670 if len(params) > 0 { 2671 _param0 = make([]string, len(c.methodInvocations)) 2672 for u, param := range params[0] { 2673 _param0[u] = param.(string) 2674 } 2675 } 2676 return 2677 } 2678 2679 func (verifier *VerifierMockGitter) DiscoverRemoteGitURL(_param0 string) *MockGitter_DiscoverRemoteGitURL_OngoingVerification { 2680 params := []pegomock.Param{_param0} 2681 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "DiscoverRemoteGitURL", params, verifier.timeout) 2682 return &MockGitter_DiscoverRemoteGitURL_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2683 } 2684 2685 type MockGitter_DiscoverRemoteGitURL_OngoingVerification struct { 2686 mock *MockGitter 2687 methodInvocations []pegomock.MethodInvocation 2688 } 2689 2690 func (c *MockGitter_DiscoverRemoteGitURL_OngoingVerification) GetCapturedArguments() string { 2691 _param0 := c.GetAllCapturedArguments() 2692 return _param0[len(_param0)-1] 2693 } 2694 2695 func (c *MockGitter_DiscoverRemoteGitURL_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 2696 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2697 if len(params) > 0 { 2698 _param0 = make([]string, len(c.methodInvocations)) 2699 for u, param := range params[0] { 2700 _param0[u] = param.(string) 2701 } 2702 } 2703 return 2704 } 2705 2706 func (verifier *VerifierMockGitter) DiscoverUpstreamGitURL(_param0 string) *MockGitter_DiscoverUpstreamGitURL_OngoingVerification { 2707 params := []pegomock.Param{_param0} 2708 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "DiscoverUpstreamGitURL", params, verifier.timeout) 2709 return &MockGitter_DiscoverUpstreamGitURL_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2710 } 2711 2712 type MockGitter_DiscoverUpstreamGitURL_OngoingVerification struct { 2713 mock *MockGitter 2714 methodInvocations []pegomock.MethodInvocation 2715 } 2716 2717 func (c *MockGitter_DiscoverUpstreamGitURL_OngoingVerification) GetCapturedArguments() string { 2718 _param0 := c.GetAllCapturedArguments() 2719 return _param0[len(_param0)-1] 2720 } 2721 2722 func (c *MockGitter_DiscoverUpstreamGitURL_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 2723 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2724 if len(params) > 0 { 2725 _param0 = make([]string, len(c.methodInvocations)) 2726 for u, param := range params[0] { 2727 _param0[u] = param.(string) 2728 } 2729 } 2730 return 2731 } 2732 2733 func (verifier *VerifierMockGitter) Email(_param0 string) *MockGitter_Email_OngoingVerification { 2734 params := []pegomock.Param{_param0} 2735 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Email", params, verifier.timeout) 2736 return &MockGitter_Email_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2737 } 2738 2739 type MockGitter_Email_OngoingVerification struct { 2740 mock *MockGitter 2741 methodInvocations []pegomock.MethodInvocation 2742 } 2743 2744 func (c *MockGitter_Email_OngoingVerification) GetCapturedArguments() string { 2745 _param0 := c.GetAllCapturedArguments() 2746 return _param0[len(_param0)-1] 2747 } 2748 2749 func (c *MockGitter_Email_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 2750 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2751 if len(params) > 0 { 2752 _param0 = make([]string, len(c.methodInvocations)) 2753 for u, param := range params[0] { 2754 _param0[u] = param.(string) 2755 } 2756 } 2757 return 2758 } 2759 2760 func (verifier *VerifierMockGitter) FetchBranch(_param0 string, _param1 string, _param2 ...string) *MockGitter_FetchBranch_OngoingVerification { 2761 params := []pegomock.Param{_param0, _param1} 2762 for _, param := range _param2 { 2763 params = append(params, param) 2764 } 2765 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "FetchBranch", params, verifier.timeout) 2766 return &MockGitter_FetchBranch_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2767 } 2768 2769 type MockGitter_FetchBranch_OngoingVerification struct { 2770 mock *MockGitter 2771 methodInvocations []pegomock.MethodInvocation 2772 } 2773 2774 func (c *MockGitter_FetchBranch_OngoingVerification) GetCapturedArguments() (string, string, []string) { 2775 _param0, _param1, _param2 := c.GetAllCapturedArguments() 2776 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 2777 } 2778 2779 func (c *MockGitter_FetchBranch_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 [][]string) { 2780 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2781 if len(params) > 0 { 2782 _param0 = make([]string, len(c.methodInvocations)) 2783 for u, param := range params[0] { 2784 _param0[u] = param.(string) 2785 } 2786 _param1 = make([]string, len(c.methodInvocations)) 2787 for u, param := range params[1] { 2788 _param1[u] = param.(string) 2789 } 2790 _param2 = make([][]string, len(c.methodInvocations)) 2791 for u := 0; u < len(c.methodInvocations); u++ { 2792 _param2[u] = make([]string, len(params)-2) 2793 for x := 2; x < len(params); x++ { 2794 if params[x][u] != nil { 2795 _param2[u][x-2] = params[x][u].(string) 2796 } 2797 } 2798 } 2799 } 2800 return 2801 } 2802 2803 func (verifier *VerifierMockGitter) FetchBranchShallow(_param0 string, _param1 string, _param2 ...string) *MockGitter_FetchBranchShallow_OngoingVerification { 2804 params := []pegomock.Param{_param0, _param1} 2805 for _, param := range _param2 { 2806 params = append(params, param) 2807 } 2808 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "FetchBranchShallow", params, verifier.timeout) 2809 return &MockGitter_FetchBranchShallow_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2810 } 2811 2812 type MockGitter_FetchBranchShallow_OngoingVerification struct { 2813 mock *MockGitter 2814 methodInvocations []pegomock.MethodInvocation 2815 } 2816 2817 func (c *MockGitter_FetchBranchShallow_OngoingVerification) GetCapturedArguments() (string, string, []string) { 2818 _param0, _param1, _param2 := c.GetAllCapturedArguments() 2819 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 2820 } 2821 2822 func (c *MockGitter_FetchBranchShallow_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 [][]string) { 2823 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2824 if len(params) > 0 { 2825 _param0 = make([]string, len(c.methodInvocations)) 2826 for u, param := range params[0] { 2827 _param0[u] = param.(string) 2828 } 2829 _param1 = make([]string, len(c.methodInvocations)) 2830 for u, param := range params[1] { 2831 _param1[u] = param.(string) 2832 } 2833 _param2 = make([][]string, len(c.methodInvocations)) 2834 for u := 0; u < len(c.methodInvocations); u++ { 2835 _param2[u] = make([]string, len(params)-2) 2836 for x := 2; x < len(params); x++ { 2837 if params[x][u] != nil { 2838 _param2[u][x-2] = params[x][u].(string) 2839 } 2840 } 2841 } 2842 } 2843 return 2844 } 2845 2846 func (verifier *VerifierMockGitter) FetchBranchUnshallow(_param0 string, _param1 string, _param2 ...string) *MockGitter_FetchBranchUnshallow_OngoingVerification { 2847 params := []pegomock.Param{_param0, _param1} 2848 for _, param := range _param2 { 2849 params = append(params, param) 2850 } 2851 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "FetchBranchUnshallow", params, verifier.timeout) 2852 return &MockGitter_FetchBranchUnshallow_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2853 } 2854 2855 type MockGitter_FetchBranchUnshallow_OngoingVerification struct { 2856 mock *MockGitter 2857 methodInvocations []pegomock.MethodInvocation 2858 } 2859 2860 func (c *MockGitter_FetchBranchUnshallow_OngoingVerification) GetCapturedArguments() (string, string, []string) { 2861 _param0, _param1, _param2 := c.GetAllCapturedArguments() 2862 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 2863 } 2864 2865 func (c *MockGitter_FetchBranchUnshallow_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 [][]string) { 2866 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2867 if len(params) > 0 { 2868 _param0 = make([]string, len(c.methodInvocations)) 2869 for u, param := range params[0] { 2870 _param0[u] = param.(string) 2871 } 2872 _param1 = make([]string, len(c.methodInvocations)) 2873 for u, param := range params[1] { 2874 _param1[u] = param.(string) 2875 } 2876 _param2 = make([][]string, len(c.methodInvocations)) 2877 for u := 0; u < len(c.methodInvocations); u++ { 2878 _param2[u] = make([]string, len(params)-2) 2879 for x := 2; x < len(params); x++ { 2880 if params[x][u] != nil { 2881 _param2[u][x-2] = params[x][u].(string) 2882 } 2883 } 2884 } 2885 } 2886 return 2887 } 2888 2889 func (verifier *VerifierMockGitter) FetchRemoteTags(_param0 string, _param1 string) *MockGitter_FetchRemoteTags_OngoingVerification { 2890 params := []pegomock.Param{_param0, _param1} 2891 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "FetchRemoteTags", params, verifier.timeout) 2892 return &MockGitter_FetchRemoteTags_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2893 } 2894 2895 type MockGitter_FetchRemoteTags_OngoingVerification struct { 2896 mock *MockGitter 2897 methodInvocations []pegomock.MethodInvocation 2898 } 2899 2900 func (c *MockGitter_FetchRemoteTags_OngoingVerification) GetCapturedArguments() (string, string) { 2901 _param0, _param1 := c.GetAllCapturedArguments() 2902 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2903 } 2904 2905 func (c *MockGitter_FetchRemoteTags_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2906 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2907 if len(params) > 0 { 2908 _param0 = make([]string, len(c.methodInvocations)) 2909 for u, param := range params[0] { 2910 _param0[u] = param.(string) 2911 } 2912 _param1 = make([]string, len(c.methodInvocations)) 2913 for u, param := range params[1] { 2914 _param1[u] = param.(string) 2915 } 2916 } 2917 return 2918 } 2919 2920 func (verifier *VerifierMockGitter) FetchTags(_param0 string) *MockGitter_FetchTags_OngoingVerification { 2921 params := []pegomock.Param{_param0} 2922 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "FetchTags", params, verifier.timeout) 2923 return &MockGitter_FetchTags_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2924 } 2925 2926 type MockGitter_FetchTags_OngoingVerification struct { 2927 mock *MockGitter 2928 methodInvocations []pegomock.MethodInvocation 2929 } 2930 2931 func (c *MockGitter_FetchTags_OngoingVerification) GetCapturedArguments() string { 2932 _param0 := c.GetAllCapturedArguments() 2933 return _param0[len(_param0)-1] 2934 } 2935 2936 func (c *MockGitter_FetchTags_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 2937 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2938 if len(params) > 0 { 2939 _param0 = make([]string, len(c.methodInvocations)) 2940 for u, param := range params[0] { 2941 _param0[u] = param.(string) 2942 } 2943 } 2944 return 2945 } 2946 2947 func (verifier *VerifierMockGitter) FetchUnshallow(_param0 string) *MockGitter_FetchUnshallow_OngoingVerification { 2948 params := []pegomock.Param{_param0} 2949 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "FetchUnshallow", params, verifier.timeout) 2950 return &MockGitter_FetchUnshallow_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2951 } 2952 2953 type MockGitter_FetchUnshallow_OngoingVerification struct { 2954 mock *MockGitter 2955 methodInvocations []pegomock.MethodInvocation 2956 } 2957 2958 func (c *MockGitter_FetchUnshallow_OngoingVerification) GetCapturedArguments() string { 2959 _param0 := c.GetAllCapturedArguments() 2960 return _param0[len(_param0)-1] 2961 } 2962 2963 func (c *MockGitter_FetchUnshallow_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 2964 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2965 if len(params) > 0 { 2966 _param0 = make([]string, len(c.methodInvocations)) 2967 for u, param := range params[0] { 2968 _param0[u] = param.(string) 2969 } 2970 } 2971 return 2972 } 2973 2974 func (verifier *VerifierMockGitter) FilterTags(_param0 string, _param1 string) *MockGitter_FilterTags_OngoingVerification { 2975 params := []pegomock.Param{_param0, _param1} 2976 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "FilterTags", params, verifier.timeout) 2977 return &MockGitter_FilterTags_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 2978 } 2979 2980 type MockGitter_FilterTags_OngoingVerification struct { 2981 mock *MockGitter 2982 methodInvocations []pegomock.MethodInvocation 2983 } 2984 2985 func (c *MockGitter_FilterTags_OngoingVerification) GetCapturedArguments() (string, string) { 2986 _param0, _param1 := c.GetAllCapturedArguments() 2987 return _param0[len(_param0)-1], _param1[len(_param1)-1] 2988 } 2989 2990 func (c *MockGitter_FilterTags_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 2991 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 2992 if len(params) > 0 { 2993 _param0 = make([]string, len(c.methodInvocations)) 2994 for u, param := range params[0] { 2995 _param0[u] = param.(string) 2996 } 2997 _param1 = make([]string, len(c.methodInvocations)) 2998 for u, param := range params[1] { 2999 _param1[u] = param.(string) 3000 } 3001 } 3002 return 3003 } 3004 3005 func (verifier *VerifierMockGitter) FindGitConfigDir(_param0 string) *MockGitter_FindGitConfigDir_OngoingVerification { 3006 params := []pegomock.Param{_param0} 3007 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "FindGitConfigDir", params, verifier.timeout) 3008 return &MockGitter_FindGitConfigDir_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3009 } 3010 3011 type MockGitter_FindGitConfigDir_OngoingVerification struct { 3012 mock *MockGitter 3013 methodInvocations []pegomock.MethodInvocation 3014 } 3015 3016 func (c *MockGitter_FindGitConfigDir_OngoingVerification) GetCapturedArguments() string { 3017 _param0 := c.GetAllCapturedArguments() 3018 return _param0[len(_param0)-1] 3019 } 3020 3021 func (c *MockGitter_FindGitConfigDir_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3022 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3023 if len(params) > 0 { 3024 _param0 = make([]string, len(c.methodInvocations)) 3025 for u, param := range params[0] { 3026 _param0[u] = param.(string) 3027 } 3028 } 3029 return 3030 } 3031 3032 func (verifier *VerifierMockGitter) ForcePushBranch(_param0 string, _param1 string, _param2 string) *MockGitter_ForcePushBranch_OngoingVerification { 3033 params := []pegomock.Param{_param0, _param1, _param2} 3034 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "ForcePushBranch", params, verifier.timeout) 3035 return &MockGitter_ForcePushBranch_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3036 } 3037 3038 type MockGitter_ForcePushBranch_OngoingVerification struct { 3039 mock *MockGitter 3040 methodInvocations []pegomock.MethodInvocation 3041 } 3042 3043 func (c *MockGitter_ForcePushBranch_OngoingVerification) GetCapturedArguments() (string, string, string) { 3044 _param0, _param1, _param2 := c.GetAllCapturedArguments() 3045 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 3046 } 3047 3048 func (c *MockGitter_ForcePushBranch_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) { 3049 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3050 if len(params) > 0 { 3051 _param0 = make([]string, len(c.methodInvocations)) 3052 for u, param := range params[0] { 3053 _param0[u] = param.(string) 3054 } 3055 _param1 = make([]string, len(c.methodInvocations)) 3056 for u, param := range params[1] { 3057 _param1[u] = param.(string) 3058 } 3059 _param2 = make([]string, len(c.methodInvocations)) 3060 for u, param := range params[2] { 3061 _param2[u] = param.(string) 3062 } 3063 } 3064 return 3065 } 3066 3067 func (verifier *VerifierMockGitter) GetAuthorEmailForCommit(_param0 string, _param1 string) *MockGitter_GetAuthorEmailForCommit_OngoingVerification { 3068 params := []pegomock.Param{_param0, _param1} 3069 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetAuthorEmailForCommit", params, verifier.timeout) 3070 return &MockGitter_GetAuthorEmailForCommit_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3071 } 3072 3073 type MockGitter_GetAuthorEmailForCommit_OngoingVerification struct { 3074 mock *MockGitter 3075 methodInvocations []pegomock.MethodInvocation 3076 } 3077 3078 func (c *MockGitter_GetAuthorEmailForCommit_OngoingVerification) GetCapturedArguments() (string, string) { 3079 _param0, _param1 := c.GetAllCapturedArguments() 3080 return _param0[len(_param0)-1], _param1[len(_param1)-1] 3081 } 3082 3083 func (c *MockGitter_GetAuthorEmailForCommit_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 3084 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3085 if len(params) > 0 { 3086 _param0 = make([]string, len(c.methodInvocations)) 3087 for u, param := range params[0] { 3088 _param0[u] = param.(string) 3089 } 3090 _param1 = make([]string, len(c.methodInvocations)) 3091 for u, param := range params[1] { 3092 _param1[u] = param.(string) 3093 } 3094 } 3095 return 3096 } 3097 3098 func (verifier *VerifierMockGitter) GetCommitPointedToByLatestTag(_param0 string) *MockGitter_GetCommitPointedToByLatestTag_OngoingVerification { 3099 params := []pegomock.Param{_param0} 3100 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetCommitPointedToByLatestTag", params, verifier.timeout) 3101 return &MockGitter_GetCommitPointedToByLatestTag_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3102 } 3103 3104 type MockGitter_GetCommitPointedToByLatestTag_OngoingVerification struct { 3105 mock *MockGitter 3106 methodInvocations []pegomock.MethodInvocation 3107 } 3108 3109 func (c *MockGitter_GetCommitPointedToByLatestTag_OngoingVerification) GetCapturedArguments() string { 3110 _param0 := c.GetAllCapturedArguments() 3111 return _param0[len(_param0)-1] 3112 } 3113 3114 func (c *MockGitter_GetCommitPointedToByLatestTag_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3115 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3116 if len(params) > 0 { 3117 _param0 = make([]string, len(c.methodInvocations)) 3118 for u, param := range params[0] { 3119 _param0[u] = param.(string) 3120 } 3121 } 3122 return 3123 } 3124 3125 func (verifier *VerifierMockGitter) GetCommitPointedToByPreviousTag(_param0 string) *MockGitter_GetCommitPointedToByPreviousTag_OngoingVerification { 3126 params := []pegomock.Param{_param0} 3127 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetCommitPointedToByPreviousTag", params, verifier.timeout) 3128 return &MockGitter_GetCommitPointedToByPreviousTag_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3129 } 3130 3131 type MockGitter_GetCommitPointedToByPreviousTag_OngoingVerification struct { 3132 mock *MockGitter 3133 methodInvocations []pegomock.MethodInvocation 3134 } 3135 3136 func (c *MockGitter_GetCommitPointedToByPreviousTag_OngoingVerification) GetCapturedArguments() string { 3137 _param0 := c.GetAllCapturedArguments() 3138 return _param0[len(_param0)-1] 3139 } 3140 3141 func (c *MockGitter_GetCommitPointedToByPreviousTag_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3142 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3143 if len(params) > 0 { 3144 _param0 = make([]string, len(c.methodInvocations)) 3145 for u, param := range params[0] { 3146 _param0[u] = param.(string) 3147 } 3148 } 3149 return 3150 } 3151 3152 func (verifier *VerifierMockGitter) GetCommitPointedToByTag(_param0 string, _param1 string) *MockGitter_GetCommitPointedToByTag_OngoingVerification { 3153 params := []pegomock.Param{_param0, _param1} 3154 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetCommitPointedToByTag", params, verifier.timeout) 3155 return &MockGitter_GetCommitPointedToByTag_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3156 } 3157 3158 type MockGitter_GetCommitPointedToByTag_OngoingVerification struct { 3159 mock *MockGitter 3160 methodInvocations []pegomock.MethodInvocation 3161 } 3162 3163 func (c *MockGitter_GetCommitPointedToByTag_OngoingVerification) GetCapturedArguments() (string, string) { 3164 _param0, _param1 := c.GetAllCapturedArguments() 3165 return _param0[len(_param0)-1], _param1[len(_param1)-1] 3166 } 3167 3168 func (c *MockGitter_GetCommitPointedToByTag_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 3169 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3170 if len(params) > 0 { 3171 _param0 = make([]string, len(c.methodInvocations)) 3172 for u, param := range params[0] { 3173 _param0[u] = param.(string) 3174 } 3175 _param1 = make([]string, len(c.methodInvocations)) 3176 for u, param := range params[1] { 3177 _param1[u] = param.(string) 3178 } 3179 } 3180 return 3181 } 3182 3183 func (verifier *VerifierMockGitter) GetCommits(_param0 string, _param1 string, _param2 string) *MockGitter_GetCommits_OngoingVerification { 3184 params := []pegomock.Param{_param0, _param1, _param2} 3185 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetCommits", params, verifier.timeout) 3186 return &MockGitter_GetCommits_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3187 } 3188 3189 type MockGitter_GetCommits_OngoingVerification struct { 3190 mock *MockGitter 3191 methodInvocations []pegomock.MethodInvocation 3192 } 3193 3194 func (c *MockGitter_GetCommits_OngoingVerification) GetCapturedArguments() (string, string, string) { 3195 _param0, _param1, _param2 := c.GetAllCapturedArguments() 3196 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 3197 } 3198 3199 func (c *MockGitter_GetCommits_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) { 3200 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3201 if len(params) > 0 { 3202 _param0 = make([]string, len(c.methodInvocations)) 3203 for u, param := range params[0] { 3204 _param0[u] = param.(string) 3205 } 3206 _param1 = make([]string, len(c.methodInvocations)) 3207 for u, param := range params[1] { 3208 _param1[u] = param.(string) 3209 } 3210 _param2 = make([]string, len(c.methodInvocations)) 3211 for u, param := range params[2] { 3212 _param2[u] = param.(string) 3213 } 3214 } 3215 return 3216 } 3217 3218 func (verifier *VerifierMockGitter) GetCommitsNotOnAnyRemote(_param0 string, _param1 string) *MockGitter_GetCommitsNotOnAnyRemote_OngoingVerification { 3219 params := []pegomock.Param{_param0, _param1} 3220 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetCommitsNotOnAnyRemote", params, verifier.timeout) 3221 return &MockGitter_GetCommitsNotOnAnyRemote_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3222 } 3223 3224 type MockGitter_GetCommitsNotOnAnyRemote_OngoingVerification struct { 3225 mock *MockGitter 3226 methodInvocations []pegomock.MethodInvocation 3227 } 3228 3229 func (c *MockGitter_GetCommitsNotOnAnyRemote_OngoingVerification) GetCapturedArguments() (string, string) { 3230 _param0, _param1 := c.GetAllCapturedArguments() 3231 return _param0[len(_param0)-1], _param1[len(_param1)-1] 3232 } 3233 3234 func (c *MockGitter_GetCommitsNotOnAnyRemote_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 3235 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3236 if len(params) > 0 { 3237 _param0 = make([]string, len(c.methodInvocations)) 3238 for u, param := range params[0] { 3239 _param0[u] = param.(string) 3240 } 3241 _param1 = make([]string, len(c.methodInvocations)) 3242 for u, param := range params[1] { 3243 _param1[u] = param.(string) 3244 } 3245 } 3246 return 3247 } 3248 3249 func (verifier *VerifierMockGitter) GetFirstCommitSha(_param0 string) *MockGitter_GetFirstCommitSha_OngoingVerification { 3250 params := []pegomock.Param{_param0} 3251 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetFirstCommitSha", params, verifier.timeout) 3252 return &MockGitter_GetFirstCommitSha_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3253 } 3254 3255 type MockGitter_GetFirstCommitSha_OngoingVerification struct { 3256 mock *MockGitter 3257 methodInvocations []pegomock.MethodInvocation 3258 } 3259 3260 func (c *MockGitter_GetFirstCommitSha_OngoingVerification) GetCapturedArguments() string { 3261 _param0 := c.GetAllCapturedArguments() 3262 return _param0[len(_param0)-1] 3263 } 3264 3265 func (c *MockGitter_GetFirstCommitSha_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3266 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3267 if len(params) > 0 { 3268 _param0 = make([]string, len(c.methodInvocations)) 3269 for u, param := range params[0] { 3270 _param0[u] = param.(string) 3271 } 3272 } 3273 return 3274 } 3275 3276 func (verifier *VerifierMockGitter) GetLatestCommitMessage(_param0 string) *MockGitter_GetLatestCommitMessage_OngoingVerification { 3277 params := []pegomock.Param{_param0} 3278 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetLatestCommitMessage", params, verifier.timeout) 3279 return &MockGitter_GetLatestCommitMessage_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3280 } 3281 3282 type MockGitter_GetLatestCommitMessage_OngoingVerification struct { 3283 mock *MockGitter 3284 methodInvocations []pegomock.MethodInvocation 3285 } 3286 3287 func (c *MockGitter_GetLatestCommitMessage_OngoingVerification) GetCapturedArguments() string { 3288 _param0 := c.GetAllCapturedArguments() 3289 return _param0[len(_param0)-1] 3290 } 3291 3292 func (c *MockGitter_GetLatestCommitMessage_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3293 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3294 if len(params) > 0 { 3295 _param0 = make([]string, len(c.methodInvocations)) 3296 for u, param := range params[0] { 3297 _param0[u] = param.(string) 3298 } 3299 } 3300 return 3301 } 3302 3303 func (verifier *VerifierMockGitter) GetLatestCommitSha(_param0 string) *MockGitter_GetLatestCommitSha_OngoingVerification { 3304 params := []pegomock.Param{_param0} 3305 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetLatestCommitSha", params, verifier.timeout) 3306 return &MockGitter_GetLatestCommitSha_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3307 } 3308 3309 type MockGitter_GetLatestCommitSha_OngoingVerification struct { 3310 mock *MockGitter 3311 methodInvocations []pegomock.MethodInvocation 3312 } 3313 3314 func (c *MockGitter_GetLatestCommitSha_OngoingVerification) GetCapturedArguments() string { 3315 _param0 := c.GetAllCapturedArguments() 3316 return _param0[len(_param0)-1] 3317 } 3318 3319 func (c *MockGitter_GetLatestCommitSha_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3320 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3321 if len(params) > 0 { 3322 _param0 = make([]string, len(c.methodInvocations)) 3323 for u, param := range params[0] { 3324 _param0[u] = param.(string) 3325 } 3326 } 3327 return 3328 } 3329 3330 func (verifier *VerifierMockGitter) GetRemoteUrl(_param0 *config.Config, _param1 string) *MockGitter_GetRemoteUrl_OngoingVerification { 3331 params := []pegomock.Param{_param0, _param1} 3332 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetRemoteUrl", params, verifier.timeout) 3333 return &MockGitter_GetRemoteUrl_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3334 } 3335 3336 type MockGitter_GetRemoteUrl_OngoingVerification struct { 3337 mock *MockGitter 3338 methodInvocations []pegomock.MethodInvocation 3339 } 3340 3341 func (c *MockGitter_GetRemoteUrl_OngoingVerification) GetCapturedArguments() (*config.Config, string) { 3342 _param0, _param1 := c.GetAllCapturedArguments() 3343 return _param0[len(_param0)-1], _param1[len(_param1)-1] 3344 } 3345 3346 func (c *MockGitter_GetRemoteUrl_OngoingVerification) GetAllCapturedArguments() (_param0 []*config.Config, _param1 []string) { 3347 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3348 if len(params) > 0 { 3349 _param0 = make([]*config.Config, len(c.methodInvocations)) 3350 for u, param := range params[0] { 3351 _param0[u] = param.(*config.Config) 3352 } 3353 _param1 = make([]string, len(c.methodInvocations)) 3354 for u, param := range params[1] { 3355 _param1[u] = param.(string) 3356 } 3357 } 3358 return 3359 } 3360 3361 func (verifier *VerifierMockGitter) GetRevisionBeforeDate(_param0 string, _param1 time.Time) *MockGitter_GetRevisionBeforeDate_OngoingVerification { 3362 params := []pegomock.Param{_param0, _param1} 3363 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetRevisionBeforeDate", params, verifier.timeout) 3364 return &MockGitter_GetRevisionBeforeDate_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3365 } 3366 3367 type MockGitter_GetRevisionBeforeDate_OngoingVerification struct { 3368 mock *MockGitter 3369 methodInvocations []pegomock.MethodInvocation 3370 } 3371 3372 func (c *MockGitter_GetRevisionBeforeDate_OngoingVerification) GetCapturedArguments() (string, time.Time) { 3373 _param0, _param1 := c.GetAllCapturedArguments() 3374 return _param0[len(_param0)-1], _param1[len(_param1)-1] 3375 } 3376 3377 func (c *MockGitter_GetRevisionBeforeDate_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []time.Time) { 3378 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3379 if len(params) > 0 { 3380 _param0 = make([]string, len(c.methodInvocations)) 3381 for u, param := range params[0] { 3382 _param0[u] = param.(string) 3383 } 3384 _param1 = make([]time.Time, len(c.methodInvocations)) 3385 for u, param := range params[1] { 3386 _param1[u] = param.(time.Time) 3387 } 3388 } 3389 return 3390 } 3391 3392 func (verifier *VerifierMockGitter) GetRevisionBeforeDateText(_param0 string, _param1 string) *MockGitter_GetRevisionBeforeDateText_OngoingVerification { 3393 params := []pegomock.Param{_param0, _param1} 3394 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "GetRevisionBeforeDateText", params, verifier.timeout) 3395 return &MockGitter_GetRevisionBeforeDateText_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3396 } 3397 3398 type MockGitter_GetRevisionBeforeDateText_OngoingVerification struct { 3399 mock *MockGitter 3400 methodInvocations []pegomock.MethodInvocation 3401 } 3402 3403 func (c *MockGitter_GetRevisionBeforeDateText_OngoingVerification) GetCapturedArguments() (string, string) { 3404 _param0, _param1 := c.GetAllCapturedArguments() 3405 return _param0[len(_param0)-1], _param1[len(_param1)-1] 3406 } 3407 3408 func (c *MockGitter_GetRevisionBeforeDateText_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 3409 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3410 if len(params) > 0 { 3411 _param0 = make([]string, len(c.methodInvocations)) 3412 for u, param := range params[0] { 3413 _param0[u] = param.(string) 3414 } 3415 _param1 = make([]string, len(c.methodInvocations)) 3416 for u, param := range params[1] { 3417 _param1[u] = param.(string) 3418 } 3419 } 3420 return 3421 } 3422 3423 func (verifier *VerifierMockGitter) HasChanges(_param0 string) *MockGitter_HasChanges_OngoingVerification { 3424 params := []pegomock.Param{_param0} 3425 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "HasChanges", params, verifier.timeout) 3426 return &MockGitter_HasChanges_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3427 } 3428 3429 type MockGitter_HasChanges_OngoingVerification struct { 3430 mock *MockGitter 3431 methodInvocations []pegomock.MethodInvocation 3432 } 3433 3434 func (c *MockGitter_HasChanges_OngoingVerification) GetCapturedArguments() string { 3435 _param0 := c.GetAllCapturedArguments() 3436 return _param0[len(_param0)-1] 3437 } 3438 3439 func (c *MockGitter_HasChanges_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3440 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3441 if len(params) > 0 { 3442 _param0 = make([]string, len(c.methodInvocations)) 3443 for u, param := range params[0] { 3444 _param0[u] = param.(string) 3445 } 3446 } 3447 return 3448 } 3449 3450 func (verifier *VerifierMockGitter) HasFileChanged(_param0 string, _param1 string) *MockGitter_HasFileChanged_OngoingVerification { 3451 params := []pegomock.Param{_param0, _param1} 3452 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "HasFileChanged", params, verifier.timeout) 3453 return &MockGitter_HasFileChanged_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3454 } 3455 3456 type MockGitter_HasFileChanged_OngoingVerification struct { 3457 mock *MockGitter 3458 methodInvocations []pegomock.MethodInvocation 3459 } 3460 3461 func (c *MockGitter_HasFileChanged_OngoingVerification) GetCapturedArguments() (string, string) { 3462 _param0, _param1 := c.GetAllCapturedArguments() 3463 return _param0[len(_param0)-1], _param1[len(_param1)-1] 3464 } 3465 3466 func (c *MockGitter_HasFileChanged_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 3467 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3468 if len(params) > 0 { 3469 _param0 = make([]string, len(c.methodInvocations)) 3470 for u, param := range params[0] { 3471 _param0[u] = param.(string) 3472 } 3473 _param1 = make([]string, len(c.methodInvocations)) 3474 for u, param := range params[1] { 3475 _param1[u] = param.(string) 3476 } 3477 } 3478 return 3479 } 3480 3481 func (verifier *VerifierMockGitter) Info(_param0 string) *MockGitter_Info_OngoingVerification { 3482 params := []pegomock.Param{_param0} 3483 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Info", params, verifier.timeout) 3484 return &MockGitter_Info_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3485 } 3486 3487 type MockGitter_Info_OngoingVerification struct { 3488 mock *MockGitter 3489 methodInvocations []pegomock.MethodInvocation 3490 } 3491 3492 func (c *MockGitter_Info_OngoingVerification) GetCapturedArguments() string { 3493 _param0 := c.GetAllCapturedArguments() 3494 return _param0[len(_param0)-1] 3495 } 3496 3497 func (c *MockGitter_Info_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3498 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3499 if len(params) > 0 { 3500 _param0 = make([]string, len(c.methodInvocations)) 3501 for u, param := range params[0] { 3502 _param0[u] = param.(string) 3503 } 3504 } 3505 return 3506 } 3507 3508 func (verifier *VerifierMockGitter) Init(_param0 string) *MockGitter_Init_OngoingVerification { 3509 params := []pegomock.Param{_param0} 3510 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Init", params, verifier.timeout) 3511 return &MockGitter_Init_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3512 } 3513 3514 type MockGitter_Init_OngoingVerification struct { 3515 mock *MockGitter 3516 methodInvocations []pegomock.MethodInvocation 3517 } 3518 3519 func (c *MockGitter_Init_OngoingVerification) GetCapturedArguments() string { 3520 _param0 := c.GetAllCapturedArguments() 3521 return _param0[len(_param0)-1] 3522 } 3523 3524 func (c *MockGitter_Init_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3525 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3526 if len(params) > 0 { 3527 _param0 = make([]string, len(c.methodInvocations)) 3528 for u, param := range params[0] { 3529 _param0[u] = param.(string) 3530 } 3531 } 3532 return 3533 } 3534 3535 func (verifier *VerifierMockGitter) IsAncestor(_param0 string, _param1 string, _param2 string) *MockGitter_IsAncestor_OngoingVerification { 3536 params := []pegomock.Param{_param0, _param1, _param2} 3537 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "IsAncestor", params, verifier.timeout) 3538 return &MockGitter_IsAncestor_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3539 } 3540 3541 type MockGitter_IsAncestor_OngoingVerification struct { 3542 mock *MockGitter 3543 methodInvocations []pegomock.MethodInvocation 3544 } 3545 3546 func (c *MockGitter_IsAncestor_OngoingVerification) GetCapturedArguments() (string, string, string) { 3547 _param0, _param1, _param2 := c.GetAllCapturedArguments() 3548 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 3549 } 3550 3551 func (c *MockGitter_IsAncestor_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) { 3552 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3553 if len(params) > 0 { 3554 _param0 = make([]string, len(c.methodInvocations)) 3555 for u, param := range params[0] { 3556 _param0[u] = param.(string) 3557 } 3558 _param1 = make([]string, len(c.methodInvocations)) 3559 for u, param := range params[1] { 3560 _param1[u] = param.(string) 3561 } 3562 _param2 = make([]string, len(c.methodInvocations)) 3563 for u, param := range params[2] { 3564 _param2[u] = param.(string) 3565 } 3566 } 3567 return 3568 } 3569 3570 func (verifier *VerifierMockGitter) IsFork(_param0 string) *MockGitter_IsFork_OngoingVerification { 3571 params := []pegomock.Param{_param0} 3572 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "IsFork", params, verifier.timeout) 3573 return &MockGitter_IsFork_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3574 } 3575 3576 type MockGitter_IsFork_OngoingVerification struct { 3577 mock *MockGitter 3578 methodInvocations []pegomock.MethodInvocation 3579 } 3580 3581 func (c *MockGitter_IsFork_OngoingVerification) GetCapturedArguments() string { 3582 _param0 := c.GetAllCapturedArguments() 3583 return _param0[len(_param0)-1] 3584 } 3585 3586 func (c *MockGitter_IsFork_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3587 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3588 if len(params) > 0 { 3589 _param0 = make([]string, len(c.methodInvocations)) 3590 for u, param := range params[0] { 3591 _param0[u] = param.(string) 3592 } 3593 } 3594 return 3595 } 3596 3597 func (verifier *VerifierMockGitter) IsShallow(_param0 string) *MockGitter_IsShallow_OngoingVerification { 3598 params := []pegomock.Param{_param0} 3599 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "IsShallow", params, verifier.timeout) 3600 return &MockGitter_IsShallow_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3601 } 3602 3603 type MockGitter_IsShallow_OngoingVerification struct { 3604 mock *MockGitter 3605 methodInvocations []pegomock.MethodInvocation 3606 } 3607 3608 func (c *MockGitter_IsShallow_OngoingVerification) GetCapturedArguments() string { 3609 _param0 := c.GetAllCapturedArguments() 3610 return _param0[len(_param0)-1] 3611 } 3612 3613 func (c *MockGitter_IsShallow_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3614 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3615 if len(params) > 0 { 3616 _param0 = make([]string, len(c.methodInvocations)) 3617 for u, param := range params[0] { 3618 _param0[u] = param.(string) 3619 } 3620 } 3621 return 3622 } 3623 3624 func (verifier *VerifierMockGitter) IsVersionControlled(_param0 string) *MockGitter_IsVersionControlled_OngoingVerification { 3625 params := []pegomock.Param{_param0} 3626 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "IsVersionControlled", params, verifier.timeout) 3627 return &MockGitter_IsVersionControlled_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3628 } 3629 3630 type MockGitter_IsVersionControlled_OngoingVerification struct { 3631 mock *MockGitter 3632 methodInvocations []pegomock.MethodInvocation 3633 } 3634 3635 func (c *MockGitter_IsVersionControlled_OngoingVerification) GetCapturedArguments() string { 3636 _param0 := c.GetAllCapturedArguments() 3637 return _param0[len(_param0)-1] 3638 } 3639 3640 func (c *MockGitter_IsVersionControlled_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3641 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3642 if len(params) > 0 { 3643 _param0 = make([]string, len(c.methodInvocations)) 3644 for u, param := range params[0] { 3645 _param0[u] = param.(string) 3646 } 3647 } 3648 return 3649 } 3650 3651 func (verifier *VerifierMockGitter) ListChangedFilesFromBranch(_param0 string, _param1 string) *MockGitter_ListChangedFilesFromBranch_OngoingVerification { 3652 params := []pegomock.Param{_param0, _param1} 3653 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "ListChangedFilesFromBranch", params, verifier.timeout) 3654 return &MockGitter_ListChangedFilesFromBranch_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3655 } 3656 3657 type MockGitter_ListChangedFilesFromBranch_OngoingVerification struct { 3658 mock *MockGitter 3659 methodInvocations []pegomock.MethodInvocation 3660 } 3661 3662 func (c *MockGitter_ListChangedFilesFromBranch_OngoingVerification) GetCapturedArguments() (string, string) { 3663 _param0, _param1 := c.GetAllCapturedArguments() 3664 return _param0[len(_param0)-1], _param1[len(_param1)-1] 3665 } 3666 3667 func (c *MockGitter_ListChangedFilesFromBranch_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 3668 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3669 if len(params) > 0 { 3670 _param0 = make([]string, len(c.methodInvocations)) 3671 for u, param := range params[0] { 3672 _param0[u] = param.(string) 3673 } 3674 _param1 = make([]string, len(c.methodInvocations)) 3675 for u, param := range params[1] { 3676 _param1[u] = param.(string) 3677 } 3678 } 3679 return 3680 } 3681 3682 func (verifier *VerifierMockGitter) LoadFileFromBranch(_param0 string, _param1 string, _param2 string) *MockGitter_LoadFileFromBranch_OngoingVerification { 3683 params := []pegomock.Param{_param0, _param1, _param2} 3684 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "LoadFileFromBranch", params, verifier.timeout) 3685 return &MockGitter_LoadFileFromBranch_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3686 } 3687 3688 type MockGitter_LoadFileFromBranch_OngoingVerification struct { 3689 mock *MockGitter 3690 methodInvocations []pegomock.MethodInvocation 3691 } 3692 3693 func (c *MockGitter_LoadFileFromBranch_OngoingVerification) GetCapturedArguments() (string, string, string) { 3694 _param0, _param1, _param2 := c.GetAllCapturedArguments() 3695 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 3696 } 3697 3698 func (c *MockGitter_LoadFileFromBranch_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) { 3699 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3700 if len(params) > 0 { 3701 _param0 = make([]string, len(c.methodInvocations)) 3702 for u, param := range params[0] { 3703 _param0[u] = param.(string) 3704 } 3705 _param1 = make([]string, len(c.methodInvocations)) 3706 for u, param := range params[1] { 3707 _param1[u] = param.(string) 3708 } 3709 _param2 = make([]string, len(c.methodInvocations)) 3710 for u, param := range params[2] { 3711 _param2[u] = param.(string) 3712 } 3713 } 3714 return 3715 } 3716 3717 func (verifier *VerifierMockGitter) LocalBranches(_param0 string) *MockGitter_LocalBranches_OngoingVerification { 3718 params := []pegomock.Param{_param0} 3719 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "LocalBranches", params, verifier.timeout) 3720 return &MockGitter_LocalBranches_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3721 } 3722 3723 type MockGitter_LocalBranches_OngoingVerification struct { 3724 mock *MockGitter 3725 methodInvocations []pegomock.MethodInvocation 3726 } 3727 3728 func (c *MockGitter_LocalBranches_OngoingVerification) GetCapturedArguments() string { 3729 _param0 := c.GetAllCapturedArguments() 3730 return _param0[len(_param0)-1] 3731 } 3732 3733 func (c *MockGitter_LocalBranches_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3734 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3735 if len(params) > 0 { 3736 _param0 = make([]string, len(c.methodInvocations)) 3737 for u, param := range params[0] { 3738 _param0[u] = param.(string) 3739 } 3740 } 3741 return 3742 } 3743 3744 func (verifier *VerifierMockGitter) Merge(_param0 string, _param1 string) *MockGitter_Merge_OngoingVerification { 3745 params := []pegomock.Param{_param0, _param1} 3746 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Merge", params, verifier.timeout) 3747 return &MockGitter_Merge_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3748 } 3749 3750 type MockGitter_Merge_OngoingVerification struct { 3751 mock *MockGitter 3752 methodInvocations []pegomock.MethodInvocation 3753 } 3754 3755 func (c *MockGitter_Merge_OngoingVerification) GetCapturedArguments() (string, string) { 3756 _param0, _param1 := c.GetAllCapturedArguments() 3757 return _param0[len(_param0)-1], _param1[len(_param1)-1] 3758 } 3759 3760 func (c *MockGitter_Merge_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 3761 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3762 if len(params) > 0 { 3763 _param0 = make([]string, len(c.methodInvocations)) 3764 for u, param := range params[0] { 3765 _param0[u] = param.(string) 3766 } 3767 _param1 = make([]string, len(c.methodInvocations)) 3768 for u, param := range params[1] { 3769 _param1[u] = param.(string) 3770 } 3771 } 3772 return 3773 } 3774 3775 func (verifier *VerifierMockGitter) MergeTheirs(_param0 string, _param1 string) *MockGitter_MergeTheirs_OngoingVerification { 3776 params := []pegomock.Param{_param0, _param1} 3777 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "MergeTheirs", params, verifier.timeout) 3778 return &MockGitter_MergeTheirs_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3779 } 3780 3781 type MockGitter_MergeTheirs_OngoingVerification struct { 3782 mock *MockGitter 3783 methodInvocations []pegomock.MethodInvocation 3784 } 3785 3786 func (c *MockGitter_MergeTheirs_OngoingVerification) GetCapturedArguments() (string, string) { 3787 _param0, _param1 := c.GetAllCapturedArguments() 3788 return _param0[len(_param0)-1], _param1[len(_param1)-1] 3789 } 3790 3791 func (c *MockGitter_MergeTheirs_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 3792 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3793 if len(params) > 0 { 3794 _param0 = make([]string, len(c.methodInvocations)) 3795 for u, param := range params[0] { 3796 _param0[u] = param.(string) 3797 } 3798 _param1 = make([]string, len(c.methodInvocations)) 3799 for u, param := range params[1] { 3800 _param1[u] = param.(string) 3801 } 3802 } 3803 return 3804 } 3805 3806 func (verifier *VerifierMockGitter) PrintCreateRepositoryGenerateAccessToken(_param0 *auth.AuthServer, _param1 string, _param2 io.Writer) *MockGitter_PrintCreateRepositoryGenerateAccessToken_OngoingVerification { 3807 params := []pegomock.Param{_param0, _param1, _param2} 3808 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "PrintCreateRepositoryGenerateAccessToken", params, verifier.timeout) 3809 return &MockGitter_PrintCreateRepositoryGenerateAccessToken_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3810 } 3811 3812 type MockGitter_PrintCreateRepositoryGenerateAccessToken_OngoingVerification struct { 3813 mock *MockGitter 3814 methodInvocations []pegomock.MethodInvocation 3815 } 3816 3817 func (c *MockGitter_PrintCreateRepositoryGenerateAccessToken_OngoingVerification) GetCapturedArguments() (*auth.AuthServer, string, io.Writer) { 3818 _param0, _param1, _param2 := c.GetAllCapturedArguments() 3819 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 3820 } 3821 3822 func (c *MockGitter_PrintCreateRepositoryGenerateAccessToken_OngoingVerification) GetAllCapturedArguments() (_param0 []*auth.AuthServer, _param1 []string, _param2 []io.Writer) { 3823 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3824 if len(params) > 0 { 3825 _param0 = make([]*auth.AuthServer, len(c.methodInvocations)) 3826 for u, param := range params[0] { 3827 _param0[u] = param.(*auth.AuthServer) 3828 } 3829 _param1 = make([]string, len(c.methodInvocations)) 3830 for u, param := range params[1] { 3831 _param1[u] = param.(string) 3832 } 3833 _param2 = make([]io.Writer, len(c.methodInvocations)) 3834 for u, param := range params[2] { 3835 _param2[u] = param.(io.Writer) 3836 } 3837 } 3838 return 3839 } 3840 3841 func (verifier *VerifierMockGitter) Pull(_param0 string) *MockGitter_Pull_OngoingVerification { 3842 params := []pegomock.Param{_param0} 3843 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Pull", params, verifier.timeout) 3844 return &MockGitter_Pull_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3845 } 3846 3847 type MockGitter_Pull_OngoingVerification struct { 3848 mock *MockGitter 3849 methodInvocations []pegomock.MethodInvocation 3850 } 3851 3852 func (c *MockGitter_Pull_OngoingVerification) GetCapturedArguments() string { 3853 _param0 := c.GetAllCapturedArguments() 3854 return _param0[len(_param0)-1] 3855 } 3856 3857 func (c *MockGitter_Pull_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3858 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3859 if len(params) > 0 { 3860 _param0 = make([]string, len(c.methodInvocations)) 3861 for u, param := range params[0] { 3862 _param0[u] = param.(string) 3863 } 3864 } 3865 return 3866 } 3867 3868 func (verifier *VerifierMockGitter) PullRemoteBranches(_param0 string) *MockGitter_PullRemoteBranches_OngoingVerification { 3869 params := []pegomock.Param{_param0} 3870 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "PullRemoteBranches", params, verifier.timeout) 3871 return &MockGitter_PullRemoteBranches_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3872 } 3873 3874 type MockGitter_PullRemoteBranches_OngoingVerification struct { 3875 mock *MockGitter 3876 methodInvocations []pegomock.MethodInvocation 3877 } 3878 3879 func (c *MockGitter_PullRemoteBranches_OngoingVerification) GetCapturedArguments() string { 3880 _param0 := c.GetAllCapturedArguments() 3881 return _param0[len(_param0)-1] 3882 } 3883 3884 func (c *MockGitter_PullRemoteBranches_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3885 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3886 if len(params) > 0 { 3887 _param0 = make([]string, len(c.methodInvocations)) 3888 for u, param := range params[0] { 3889 _param0[u] = param.(string) 3890 } 3891 } 3892 return 3893 } 3894 3895 func (verifier *VerifierMockGitter) PullUpstream(_param0 string) *MockGitter_PullUpstream_OngoingVerification { 3896 params := []pegomock.Param{_param0} 3897 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "PullUpstream", params, verifier.timeout) 3898 return &MockGitter_PullUpstream_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3899 } 3900 3901 type MockGitter_PullUpstream_OngoingVerification struct { 3902 mock *MockGitter 3903 methodInvocations []pegomock.MethodInvocation 3904 } 3905 3906 func (c *MockGitter_PullUpstream_OngoingVerification) GetCapturedArguments() string { 3907 _param0 := c.GetAllCapturedArguments() 3908 return _param0[len(_param0)-1] 3909 } 3910 3911 func (c *MockGitter_PullUpstream_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3912 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3913 if len(params) > 0 { 3914 _param0 = make([]string, len(c.methodInvocations)) 3915 for u, param := range params[0] { 3916 _param0[u] = param.(string) 3917 } 3918 } 3919 return 3920 } 3921 3922 func (verifier *VerifierMockGitter) Push(_param0 string, _param1 string, _param2 bool, _param3 ...string) *MockGitter_Push_OngoingVerification { 3923 params := []pegomock.Param{_param0, _param1, _param2} 3924 for _, param := range _param3 { 3925 params = append(params, param) 3926 } 3927 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Push", params, verifier.timeout) 3928 return &MockGitter_Push_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3929 } 3930 3931 type MockGitter_Push_OngoingVerification struct { 3932 mock *MockGitter 3933 methodInvocations []pegomock.MethodInvocation 3934 } 3935 3936 func (c *MockGitter_Push_OngoingVerification) GetCapturedArguments() (string, string, bool, []string) { 3937 _param0, _param1, _param2, _param3 := c.GetAllCapturedArguments() 3938 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1], _param3[len(_param3)-1] 3939 } 3940 3941 func (c *MockGitter_Push_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []bool, _param3 [][]string) { 3942 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3943 if len(params) > 0 { 3944 _param0 = make([]string, len(c.methodInvocations)) 3945 for u, param := range params[0] { 3946 _param0[u] = param.(string) 3947 } 3948 _param1 = make([]string, len(c.methodInvocations)) 3949 for u, param := range params[1] { 3950 _param1[u] = param.(string) 3951 } 3952 _param2 = make([]bool, len(c.methodInvocations)) 3953 for u, param := range params[2] { 3954 _param2[u] = param.(bool) 3955 } 3956 _param3 = make([][]string, len(c.methodInvocations)) 3957 for u := 0; u < len(c.methodInvocations); u++ { 3958 _param3[u] = make([]string, len(params)-3) 3959 for x := 3; x < len(params); x++ { 3960 if params[x][u] != nil { 3961 _param3[u][x-3] = params[x][u].(string) 3962 } 3963 } 3964 } 3965 } 3966 return 3967 } 3968 3969 func (verifier *VerifierMockGitter) PushMaster(_param0 string) *MockGitter_PushMaster_OngoingVerification { 3970 params := []pegomock.Param{_param0} 3971 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "PushMaster", params, verifier.timeout) 3972 return &MockGitter_PushMaster_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 3973 } 3974 3975 type MockGitter_PushMaster_OngoingVerification struct { 3976 mock *MockGitter 3977 methodInvocations []pegomock.MethodInvocation 3978 } 3979 3980 func (c *MockGitter_PushMaster_OngoingVerification) GetCapturedArguments() string { 3981 _param0 := c.GetAllCapturedArguments() 3982 return _param0[len(_param0)-1] 3983 } 3984 3985 func (c *MockGitter_PushMaster_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 3986 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 3987 if len(params) > 0 { 3988 _param0 = make([]string, len(c.methodInvocations)) 3989 for u, param := range params[0] { 3990 _param0[u] = param.(string) 3991 } 3992 } 3993 return 3994 } 3995 3996 func (verifier *VerifierMockGitter) PushMirror(_param0 string, _param1 string) *MockGitter_PushMirror_OngoingVerification { 3997 params := []pegomock.Param{_param0, _param1} 3998 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "PushMirror", params, verifier.timeout) 3999 return &MockGitter_PushMirror_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4000 } 4001 4002 type MockGitter_PushMirror_OngoingVerification struct { 4003 mock *MockGitter 4004 methodInvocations []pegomock.MethodInvocation 4005 } 4006 4007 func (c *MockGitter_PushMirror_OngoingVerification) GetCapturedArguments() (string, string) { 4008 _param0, _param1 := c.GetAllCapturedArguments() 4009 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4010 } 4011 4012 func (c *MockGitter_PushMirror_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4013 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4014 if len(params) > 0 { 4015 _param0 = make([]string, len(c.methodInvocations)) 4016 for u, param := range params[0] { 4017 _param0[u] = param.(string) 4018 } 4019 _param1 = make([]string, len(c.methodInvocations)) 4020 for u, param := range params[1] { 4021 _param1[u] = param.(string) 4022 } 4023 } 4024 return 4025 } 4026 4027 func (verifier *VerifierMockGitter) PushTag(_param0 string, _param1 string) *MockGitter_PushTag_OngoingVerification { 4028 params := []pegomock.Param{_param0, _param1} 4029 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "PushTag", params, verifier.timeout) 4030 return &MockGitter_PushTag_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4031 } 4032 4033 type MockGitter_PushTag_OngoingVerification struct { 4034 mock *MockGitter 4035 methodInvocations []pegomock.MethodInvocation 4036 } 4037 4038 func (c *MockGitter_PushTag_OngoingVerification) GetCapturedArguments() (string, string) { 4039 _param0, _param1 := c.GetAllCapturedArguments() 4040 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4041 } 4042 4043 func (c *MockGitter_PushTag_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4044 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4045 if len(params) > 0 { 4046 _param0 = make([]string, len(c.methodInvocations)) 4047 for u, param := range params[0] { 4048 _param0[u] = param.(string) 4049 } 4050 _param1 = make([]string, len(c.methodInvocations)) 4051 for u, param := range params[1] { 4052 _param1[u] = param.(string) 4053 } 4054 } 4055 return 4056 } 4057 4058 func (verifier *VerifierMockGitter) ReadRepoAttributes(_param0 string) *MockGitter_ReadRepoAttributes_OngoingVerification { 4059 params := []pegomock.Param{_param0} 4060 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "ReadRepoAttributes", params, verifier.timeout) 4061 return &MockGitter_ReadRepoAttributes_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4062 } 4063 4064 type MockGitter_ReadRepoAttributes_OngoingVerification struct { 4065 mock *MockGitter 4066 methodInvocations []pegomock.MethodInvocation 4067 } 4068 4069 func (c *MockGitter_ReadRepoAttributes_OngoingVerification) GetCapturedArguments() string { 4070 _param0 := c.GetAllCapturedArguments() 4071 return _param0[len(_param0)-1] 4072 } 4073 4074 func (c *MockGitter_ReadRepoAttributes_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 4075 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4076 if len(params) > 0 { 4077 _param0 = make([]string, len(c.methodInvocations)) 4078 for u, param := range params[0] { 4079 _param0[u] = param.(string) 4080 } 4081 } 4082 return 4083 } 4084 4085 func (verifier *VerifierMockGitter) RebaseTheirs(_param0 string, _param1 string, _param2 string, _param3 bool) *MockGitter_RebaseTheirs_OngoingVerification { 4086 params := []pegomock.Param{_param0, _param1, _param2, _param3} 4087 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "RebaseTheirs", params, verifier.timeout) 4088 return &MockGitter_RebaseTheirs_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4089 } 4090 4091 type MockGitter_RebaseTheirs_OngoingVerification struct { 4092 mock *MockGitter 4093 methodInvocations []pegomock.MethodInvocation 4094 } 4095 4096 func (c *MockGitter_RebaseTheirs_OngoingVerification) GetCapturedArguments() (string, string, string, bool) { 4097 _param0, _param1, _param2, _param3 := c.GetAllCapturedArguments() 4098 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1], _param3[len(_param3)-1] 4099 } 4100 4101 func (c *MockGitter_RebaseTheirs_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string, _param3 []bool) { 4102 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4103 if len(params) > 0 { 4104 _param0 = make([]string, len(c.methodInvocations)) 4105 for u, param := range params[0] { 4106 _param0[u] = param.(string) 4107 } 4108 _param1 = make([]string, len(c.methodInvocations)) 4109 for u, param := range params[1] { 4110 _param1[u] = param.(string) 4111 } 4112 _param2 = make([]string, len(c.methodInvocations)) 4113 for u, param := range params[2] { 4114 _param2[u] = param.(string) 4115 } 4116 _param3 = make([]bool, len(c.methodInvocations)) 4117 for u, param := range params[3] { 4118 _param3[u] = param.(bool) 4119 } 4120 } 4121 return 4122 } 4123 4124 func (verifier *VerifierMockGitter) RemoteBranchNames(_param0 string, _param1 string) *MockGitter_RemoteBranchNames_OngoingVerification { 4125 params := []pegomock.Param{_param0, _param1} 4126 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "RemoteBranchNames", params, verifier.timeout) 4127 return &MockGitter_RemoteBranchNames_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4128 } 4129 4130 type MockGitter_RemoteBranchNames_OngoingVerification struct { 4131 mock *MockGitter 4132 methodInvocations []pegomock.MethodInvocation 4133 } 4134 4135 func (c *MockGitter_RemoteBranchNames_OngoingVerification) GetCapturedArguments() (string, string) { 4136 _param0, _param1 := c.GetAllCapturedArguments() 4137 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4138 } 4139 4140 func (c *MockGitter_RemoteBranchNames_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4141 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4142 if len(params) > 0 { 4143 _param0 = make([]string, len(c.methodInvocations)) 4144 for u, param := range params[0] { 4145 _param0[u] = param.(string) 4146 } 4147 _param1 = make([]string, len(c.methodInvocations)) 4148 for u, param := range params[1] { 4149 _param1[u] = param.(string) 4150 } 4151 } 4152 return 4153 } 4154 4155 func (verifier *VerifierMockGitter) RemoteBranches(_param0 string) *MockGitter_RemoteBranches_OngoingVerification { 4156 params := []pegomock.Param{_param0} 4157 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "RemoteBranches", params, verifier.timeout) 4158 return &MockGitter_RemoteBranches_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4159 } 4160 4161 type MockGitter_RemoteBranches_OngoingVerification struct { 4162 mock *MockGitter 4163 methodInvocations []pegomock.MethodInvocation 4164 } 4165 4166 func (c *MockGitter_RemoteBranches_OngoingVerification) GetCapturedArguments() string { 4167 _param0 := c.GetAllCapturedArguments() 4168 return _param0[len(_param0)-1] 4169 } 4170 4171 func (c *MockGitter_RemoteBranches_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 4172 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4173 if len(params) > 0 { 4174 _param0 = make([]string, len(c.methodInvocations)) 4175 for u, param := range params[0] { 4176 _param0[u] = param.(string) 4177 } 4178 } 4179 return 4180 } 4181 4182 func (verifier *VerifierMockGitter) RemoteMergedBranchNames(_param0 string, _param1 string) *MockGitter_RemoteMergedBranchNames_OngoingVerification { 4183 params := []pegomock.Param{_param0, _param1} 4184 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "RemoteMergedBranchNames", params, verifier.timeout) 4185 return &MockGitter_RemoteMergedBranchNames_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4186 } 4187 4188 type MockGitter_RemoteMergedBranchNames_OngoingVerification struct { 4189 mock *MockGitter 4190 methodInvocations []pegomock.MethodInvocation 4191 } 4192 4193 func (c *MockGitter_RemoteMergedBranchNames_OngoingVerification) GetCapturedArguments() (string, string) { 4194 _param0, _param1 := c.GetAllCapturedArguments() 4195 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4196 } 4197 4198 func (c *MockGitter_RemoteMergedBranchNames_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4199 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4200 if len(params) > 0 { 4201 _param0 = make([]string, len(c.methodInvocations)) 4202 for u, param := range params[0] { 4203 _param0[u] = param.(string) 4204 } 4205 _param1 = make([]string, len(c.methodInvocations)) 4206 for u, param := range params[1] { 4207 _param1[u] = param.(string) 4208 } 4209 } 4210 return 4211 } 4212 4213 func (verifier *VerifierMockGitter) RemoteUpdate(_param0 string) *MockGitter_RemoteUpdate_OngoingVerification { 4214 params := []pegomock.Param{_param0} 4215 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "RemoteUpdate", params, verifier.timeout) 4216 return &MockGitter_RemoteUpdate_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4217 } 4218 4219 type MockGitter_RemoteUpdate_OngoingVerification struct { 4220 mock *MockGitter 4221 methodInvocations []pegomock.MethodInvocation 4222 } 4223 4224 func (c *MockGitter_RemoteUpdate_OngoingVerification) GetCapturedArguments() string { 4225 _param0 := c.GetAllCapturedArguments() 4226 return _param0[len(_param0)-1] 4227 } 4228 4229 func (c *MockGitter_RemoteUpdate_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 4230 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4231 if len(params) > 0 { 4232 _param0 = make([]string, len(c.methodInvocations)) 4233 for u, param := range params[0] { 4234 _param0[u] = param.(string) 4235 } 4236 } 4237 return 4238 } 4239 4240 func (verifier *VerifierMockGitter) Remotes(_param0 string) *MockGitter_Remotes_OngoingVerification { 4241 params := []pegomock.Param{_param0} 4242 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Remotes", params, verifier.timeout) 4243 return &MockGitter_Remotes_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4244 } 4245 4246 type MockGitter_Remotes_OngoingVerification struct { 4247 mock *MockGitter 4248 methodInvocations []pegomock.MethodInvocation 4249 } 4250 4251 func (c *MockGitter_Remotes_OngoingVerification) GetCapturedArguments() string { 4252 _param0 := c.GetAllCapturedArguments() 4253 return _param0[len(_param0)-1] 4254 } 4255 4256 func (c *MockGitter_Remotes_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 4257 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4258 if len(params) > 0 { 4259 _param0 = make([]string, len(c.methodInvocations)) 4260 for u, param := range params[0] { 4261 _param0[u] = param.(string) 4262 } 4263 } 4264 return 4265 } 4266 4267 func (verifier *VerifierMockGitter) Remove(_param0 string, _param1 string) *MockGitter_Remove_OngoingVerification { 4268 params := []pegomock.Param{_param0, _param1} 4269 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Remove", params, verifier.timeout) 4270 return &MockGitter_Remove_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4271 } 4272 4273 type MockGitter_Remove_OngoingVerification struct { 4274 mock *MockGitter 4275 methodInvocations []pegomock.MethodInvocation 4276 } 4277 4278 func (c *MockGitter_Remove_OngoingVerification) GetCapturedArguments() (string, string) { 4279 _param0, _param1 := c.GetAllCapturedArguments() 4280 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4281 } 4282 4283 func (c *MockGitter_Remove_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4284 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4285 if len(params) > 0 { 4286 _param0 = make([]string, len(c.methodInvocations)) 4287 for u, param := range params[0] { 4288 _param0[u] = param.(string) 4289 } 4290 _param1 = make([]string, len(c.methodInvocations)) 4291 for u, param := range params[1] { 4292 _param1[u] = param.(string) 4293 } 4294 } 4295 return 4296 } 4297 4298 func (verifier *VerifierMockGitter) RemoveForce(_param0 string, _param1 string) *MockGitter_RemoveForce_OngoingVerification { 4299 params := []pegomock.Param{_param0, _param1} 4300 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "RemoveForce", params, verifier.timeout) 4301 return &MockGitter_RemoveForce_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4302 } 4303 4304 type MockGitter_RemoveForce_OngoingVerification struct { 4305 mock *MockGitter 4306 methodInvocations []pegomock.MethodInvocation 4307 } 4308 4309 func (c *MockGitter_RemoveForce_OngoingVerification) GetCapturedArguments() (string, string) { 4310 _param0, _param1 := c.GetAllCapturedArguments() 4311 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4312 } 4313 4314 func (c *MockGitter_RemoveForce_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4315 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4316 if len(params) > 0 { 4317 _param0 = make([]string, len(c.methodInvocations)) 4318 for u, param := range params[0] { 4319 _param0[u] = param.(string) 4320 } 4321 _param1 = make([]string, len(c.methodInvocations)) 4322 for u, param := range params[1] { 4323 _param1[u] = param.(string) 4324 } 4325 } 4326 return 4327 } 4328 4329 func (verifier *VerifierMockGitter) RepoName(_param0 string, _param1 string) *MockGitter_RepoName_OngoingVerification { 4330 params := []pegomock.Param{_param0, _param1} 4331 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "RepoName", params, verifier.timeout) 4332 return &MockGitter_RepoName_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4333 } 4334 4335 type MockGitter_RepoName_OngoingVerification struct { 4336 mock *MockGitter 4337 methodInvocations []pegomock.MethodInvocation 4338 } 4339 4340 func (c *MockGitter_RepoName_OngoingVerification) GetCapturedArguments() (string, string) { 4341 _param0, _param1 := c.GetAllCapturedArguments() 4342 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4343 } 4344 4345 func (c *MockGitter_RepoName_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4346 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4347 if len(params) > 0 { 4348 _param0 = make([]string, len(c.methodInvocations)) 4349 for u, param := range params[0] { 4350 _param0[u] = param.(string) 4351 } 4352 _param1 = make([]string, len(c.methodInvocations)) 4353 for u, param := range params[1] { 4354 _param1[u] = param.(string) 4355 } 4356 } 4357 return 4358 } 4359 4360 func (verifier *VerifierMockGitter) Reset(_param0 string, _param1 string, _param2 bool) *MockGitter_Reset_OngoingVerification { 4361 params := []pegomock.Param{_param0, _param1, _param2} 4362 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Reset", params, verifier.timeout) 4363 return &MockGitter_Reset_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4364 } 4365 4366 type MockGitter_Reset_OngoingVerification struct { 4367 mock *MockGitter 4368 methodInvocations []pegomock.MethodInvocation 4369 } 4370 4371 func (c *MockGitter_Reset_OngoingVerification) GetCapturedArguments() (string, string, bool) { 4372 _param0, _param1, _param2 := c.GetAllCapturedArguments() 4373 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 4374 } 4375 4376 func (c *MockGitter_Reset_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []bool) { 4377 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4378 if len(params) > 0 { 4379 _param0 = make([]string, len(c.methodInvocations)) 4380 for u, param := range params[0] { 4381 _param0[u] = param.(string) 4382 } 4383 _param1 = make([]string, len(c.methodInvocations)) 4384 for u, param := range params[1] { 4385 _param1[u] = param.(string) 4386 } 4387 _param2 = make([]bool, len(c.methodInvocations)) 4388 for u, param := range params[2] { 4389 _param2[u] = param.(bool) 4390 } 4391 } 4392 return 4393 } 4394 4395 func (verifier *VerifierMockGitter) ResetToUpstream(_param0 string, _param1 string) *MockGitter_ResetToUpstream_OngoingVerification { 4396 params := []pegomock.Param{_param0, _param1} 4397 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "ResetToUpstream", params, verifier.timeout) 4398 return &MockGitter_ResetToUpstream_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4399 } 4400 4401 type MockGitter_ResetToUpstream_OngoingVerification struct { 4402 mock *MockGitter 4403 methodInvocations []pegomock.MethodInvocation 4404 } 4405 4406 func (c *MockGitter_ResetToUpstream_OngoingVerification) GetCapturedArguments() (string, string) { 4407 _param0, _param1 := c.GetAllCapturedArguments() 4408 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4409 } 4410 4411 func (c *MockGitter_ResetToUpstream_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4412 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4413 if len(params) > 0 { 4414 _param0 = make([]string, len(c.methodInvocations)) 4415 for u, param := range params[0] { 4416 _param0[u] = param.(string) 4417 } 4418 _param1 = make([]string, len(c.methodInvocations)) 4419 for u, param := range params[1] { 4420 _param1[u] = param.(string) 4421 } 4422 } 4423 return 4424 } 4425 4426 func (verifier *VerifierMockGitter) RevParse(_param0 string, _param1 string) *MockGitter_RevParse_OngoingVerification { 4427 params := []pegomock.Param{_param0, _param1} 4428 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "RevParse", params, verifier.timeout) 4429 return &MockGitter_RevParse_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4430 } 4431 4432 type MockGitter_RevParse_OngoingVerification struct { 4433 mock *MockGitter 4434 methodInvocations []pegomock.MethodInvocation 4435 } 4436 4437 func (c *MockGitter_RevParse_OngoingVerification) GetCapturedArguments() (string, string) { 4438 _param0, _param1 := c.GetAllCapturedArguments() 4439 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4440 } 4441 4442 func (c *MockGitter_RevParse_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4443 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4444 if len(params) > 0 { 4445 _param0 = make([]string, len(c.methodInvocations)) 4446 for u, param := range params[0] { 4447 _param0[u] = param.(string) 4448 } 4449 _param1 = make([]string, len(c.methodInvocations)) 4450 for u, param := range params[1] { 4451 _param1[u] = param.(string) 4452 } 4453 } 4454 return 4455 } 4456 4457 func (verifier *VerifierMockGitter) Server(_param0 string) *MockGitter_Server_OngoingVerification { 4458 params := []pegomock.Param{_param0} 4459 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Server", params, verifier.timeout) 4460 return &MockGitter_Server_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4461 } 4462 4463 type MockGitter_Server_OngoingVerification struct { 4464 mock *MockGitter 4465 methodInvocations []pegomock.MethodInvocation 4466 } 4467 4468 func (c *MockGitter_Server_OngoingVerification) GetCapturedArguments() string { 4469 _param0 := c.GetAllCapturedArguments() 4470 return _param0[len(_param0)-1] 4471 } 4472 4473 func (c *MockGitter_Server_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 4474 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4475 if len(params) > 0 { 4476 _param0 = make([]string, len(c.methodInvocations)) 4477 for u, param := range params[0] { 4478 _param0[u] = param.(string) 4479 } 4480 } 4481 return 4482 } 4483 4484 func (verifier *VerifierMockGitter) SetEmail(_param0 string, _param1 string) *MockGitter_SetEmail_OngoingVerification { 4485 params := []pegomock.Param{_param0, _param1} 4486 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "SetEmail", params, verifier.timeout) 4487 return &MockGitter_SetEmail_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4488 } 4489 4490 type MockGitter_SetEmail_OngoingVerification struct { 4491 mock *MockGitter 4492 methodInvocations []pegomock.MethodInvocation 4493 } 4494 4495 func (c *MockGitter_SetEmail_OngoingVerification) GetCapturedArguments() (string, string) { 4496 _param0, _param1 := c.GetAllCapturedArguments() 4497 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4498 } 4499 4500 func (c *MockGitter_SetEmail_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4501 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4502 if len(params) > 0 { 4503 _param0 = make([]string, len(c.methodInvocations)) 4504 for u, param := range params[0] { 4505 _param0[u] = param.(string) 4506 } 4507 _param1 = make([]string, len(c.methodInvocations)) 4508 for u, param := range params[1] { 4509 _param1[u] = param.(string) 4510 } 4511 } 4512 return 4513 } 4514 4515 func (verifier *VerifierMockGitter) SetRemoteURL(_param0 string, _param1 string, _param2 string) *MockGitter_SetRemoteURL_OngoingVerification { 4516 params := []pegomock.Param{_param0, _param1, _param2} 4517 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "SetRemoteURL", params, verifier.timeout) 4518 return &MockGitter_SetRemoteURL_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4519 } 4520 4521 type MockGitter_SetRemoteURL_OngoingVerification struct { 4522 mock *MockGitter 4523 methodInvocations []pegomock.MethodInvocation 4524 } 4525 4526 func (c *MockGitter_SetRemoteURL_OngoingVerification) GetCapturedArguments() (string, string, string) { 4527 _param0, _param1, _param2 := c.GetAllCapturedArguments() 4528 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 4529 } 4530 4531 func (c *MockGitter_SetRemoteURL_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) { 4532 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4533 if len(params) > 0 { 4534 _param0 = make([]string, len(c.methodInvocations)) 4535 for u, param := range params[0] { 4536 _param0[u] = param.(string) 4537 } 4538 _param1 = make([]string, len(c.methodInvocations)) 4539 for u, param := range params[1] { 4540 _param1[u] = param.(string) 4541 } 4542 _param2 = make([]string, len(c.methodInvocations)) 4543 for u, param := range params[2] { 4544 _param2[u] = param.(string) 4545 } 4546 } 4547 return 4548 } 4549 4550 func (verifier *VerifierMockGitter) SetUpstreamTo(_param0 string, _param1 string) *MockGitter_SetUpstreamTo_OngoingVerification { 4551 params := []pegomock.Param{_param0, _param1} 4552 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "SetUpstreamTo", params, verifier.timeout) 4553 return &MockGitter_SetUpstreamTo_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4554 } 4555 4556 type MockGitter_SetUpstreamTo_OngoingVerification struct { 4557 mock *MockGitter 4558 methodInvocations []pegomock.MethodInvocation 4559 } 4560 4561 func (c *MockGitter_SetUpstreamTo_OngoingVerification) GetCapturedArguments() (string, string) { 4562 _param0, _param1 := c.GetAllCapturedArguments() 4563 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4564 } 4565 4566 func (c *MockGitter_SetUpstreamTo_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4567 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4568 if len(params) > 0 { 4569 _param0 = make([]string, len(c.methodInvocations)) 4570 for u, param := range params[0] { 4571 _param0[u] = param.(string) 4572 } 4573 _param1 = make([]string, len(c.methodInvocations)) 4574 for u, param := range params[1] { 4575 _param1[u] = param.(string) 4576 } 4577 } 4578 return 4579 } 4580 4581 func (verifier *VerifierMockGitter) SetUsername(_param0 string, _param1 string) *MockGitter_SetUsername_OngoingVerification { 4582 params := []pegomock.Param{_param0, _param1} 4583 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "SetUsername", params, verifier.timeout) 4584 return &MockGitter_SetUsername_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4585 } 4586 4587 type MockGitter_SetUsername_OngoingVerification struct { 4588 mock *MockGitter 4589 methodInvocations []pegomock.MethodInvocation 4590 } 4591 4592 func (c *MockGitter_SetUsername_OngoingVerification) GetCapturedArguments() (string, string) { 4593 _param0, _param1 := c.GetAllCapturedArguments() 4594 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4595 } 4596 4597 func (c *MockGitter_SetUsername_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4598 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4599 if len(params) > 0 { 4600 _param0 = make([]string, len(c.methodInvocations)) 4601 for u, param := range params[0] { 4602 _param0[u] = param.(string) 4603 } 4604 _param1 = make([]string, len(c.methodInvocations)) 4605 for u, param := range params[1] { 4606 _param1[u] = param.(string) 4607 } 4608 } 4609 return 4610 } 4611 4612 func (verifier *VerifierMockGitter) ShallowClone(_param0 string, _param1 string, _param2 string, _param3 string) *MockGitter_ShallowClone_OngoingVerification { 4613 params := []pegomock.Param{_param0, _param1, _param2, _param3} 4614 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "ShallowClone", params, verifier.timeout) 4615 return &MockGitter_ShallowClone_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4616 } 4617 4618 type MockGitter_ShallowClone_OngoingVerification struct { 4619 mock *MockGitter 4620 methodInvocations []pegomock.MethodInvocation 4621 } 4622 4623 func (c *MockGitter_ShallowClone_OngoingVerification) GetCapturedArguments() (string, string, string, string) { 4624 _param0, _param1, _param2, _param3 := c.GetAllCapturedArguments() 4625 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1], _param3[len(_param3)-1] 4626 } 4627 4628 func (c *MockGitter_ShallowClone_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string, _param3 []string) { 4629 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4630 if len(params) > 0 { 4631 _param0 = make([]string, len(c.methodInvocations)) 4632 for u, param := range params[0] { 4633 _param0[u] = param.(string) 4634 } 4635 _param1 = make([]string, len(c.methodInvocations)) 4636 for u, param := range params[1] { 4637 _param1[u] = param.(string) 4638 } 4639 _param2 = make([]string, len(c.methodInvocations)) 4640 for u, param := range params[2] { 4641 _param2[u] = param.(string) 4642 } 4643 _param3 = make([]string, len(c.methodInvocations)) 4644 for u, param := range params[3] { 4645 _param3[u] = param.(string) 4646 } 4647 } 4648 return 4649 } 4650 4651 func (verifier *VerifierMockGitter) ShallowCloneBranch(_param0 string, _param1 string, _param2 string) *MockGitter_ShallowCloneBranch_OngoingVerification { 4652 params := []pegomock.Param{_param0, _param1, _param2} 4653 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "ShallowCloneBranch", params, verifier.timeout) 4654 return &MockGitter_ShallowCloneBranch_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4655 } 4656 4657 type MockGitter_ShallowCloneBranch_OngoingVerification struct { 4658 mock *MockGitter 4659 methodInvocations []pegomock.MethodInvocation 4660 } 4661 4662 func (c *MockGitter_ShallowCloneBranch_OngoingVerification) GetCapturedArguments() (string, string, string) { 4663 _param0, _param1, _param2 := c.GetAllCapturedArguments() 4664 return _param0[len(_param0)-1], _param1[len(_param1)-1], _param2[len(_param2)-1] 4665 } 4666 4667 func (c *MockGitter_ShallowCloneBranch_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string) { 4668 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4669 if len(params) > 0 { 4670 _param0 = make([]string, len(c.methodInvocations)) 4671 for u, param := range params[0] { 4672 _param0[u] = param.(string) 4673 } 4674 _param1 = make([]string, len(c.methodInvocations)) 4675 for u, param := range params[1] { 4676 _param1[u] = param.(string) 4677 } 4678 _param2 = make([]string, len(c.methodInvocations)) 4679 for u, param := range params[2] { 4680 _param2[u] = param.(string) 4681 } 4682 } 4683 return 4684 } 4685 4686 func (verifier *VerifierMockGitter) StashPop(_param0 string) *MockGitter_StashPop_OngoingVerification { 4687 params := []pegomock.Param{_param0} 4688 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "StashPop", params, verifier.timeout) 4689 return &MockGitter_StashPop_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4690 } 4691 4692 type MockGitter_StashPop_OngoingVerification struct { 4693 mock *MockGitter 4694 methodInvocations []pegomock.MethodInvocation 4695 } 4696 4697 func (c *MockGitter_StashPop_OngoingVerification) GetCapturedArguments() string { 4698 _param0 := c.GetAllCapturedArguments() 4699 return _param0[len(_param0)-1] 4700 } 4701 4702 func (c *MockGitter_StashPop_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 4703 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4704 if len(params) > 0 { 4705 _param0 = make([]string, len(c.methodInvocations)) 4706 for u, param := range params[0] { 4707 _param0[u] = param.(string) 4708 } 4709 } 4710 return 4711 } 4712 4713 func (verifier *VerifierMockGitter) StashPush(_param0 string) *MockGitter_StashPush_OngoingVerification { 4714 params := []pegomock.Param{_param0} 4715 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "StashPush", params, verifier.timeout) 4716 return &MockGitter_StashPush_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4717 } 4718 4719 type MockGitter_StashPush_OngoingVerification struct { 4720 mock *MockGitter 4721 methodInvocations []pegomock.MethodInvocation 4722 } 4723 4724 func (c *MockGitter_StashPush_OngoingVerification) GetCapturedArguments() string { 4725 _param0 := c.GetAllCapturedArguments() 4726 return _param0[len(_param0)-1] 4727 } 4728 4729 func (c *MockGitter_StashPush_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 4730 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4731 if len(params) > 0 { 4732 _param0 = make([]string, len(c.methodInvocations)) 4733 for u, param := range params[0] { 4734 _param0[u] = param.(string) 4735 } 4736 } 4737 return 4738 } 4739 4740 func (verifier *VerifierMockGitter) Status(_param0 string) *MockGitter_Status_OngoingVerification { 4741 params := []pegomock.Param{_param0} 4742 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Status", params, verifier.timeout) 4743 return &MockGitter_Status_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4744 } 4745 4746 type MockGitter_Status_OngoingVerification struct { 4747 mock *MockGitter 4748 methodInvocations []pegomock.MethodInvocation 4749 } 4750 4751 func (c *MockGitter_Status_OngoingVerification) GetCapturedArguments() string { 4752 _param0 := c.GetAllCapturedArguments() 4753 return _param0[len(_param0)-1] 4754 } 4755 4756 func (c *MockGitter_Status_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 4757 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4758 if len(params) > 0 { 4759 _param0 = make([]string, len(c.methodInvocations)) 4760 for u, param := range params[0] { 4761 _param0[u] = param.(string) 4762 } 4763 } 4764 return 4765 } 4766 4767 func (verifier *VerifierMockGitter) Tags(_param0 string) *MockGitter_Tags_OngoingVerification { 4768 params := []pegomock.Param{_param0} 4769 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Tags", params, verifier.timeout) 4770 return &MockGitter_Tags_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4771 } 4772 4773 type MockGitter_Tags_OngoingVerification struct { 4774 mock *MockGitter 4775 methodInvocations []pegomock.MethodInvocation 4776 } 4777 4778 func (c *MockGitter_Tags_OngoingVerification) GetCapturedArguments() string { 4779 _param0 := c.GetAllCapturedArguments() 4780 return _param0[len(_param0)-1] 4781 } 4782 4783 func (c *MockGitter_Tags_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 4784 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4785 if len(params) > 0 { 4786 _param0 = make([]string, len(c.methodInvocations)) 4787 for u, param := range params[0] { 4788 _param0[u] = param.(string) 4789 } 4790 } 4791 return 4792 } 4793 4794 func (verifier *VerifierMockGitter) UpdateRemote(_param0 string, _param1 string) *MockGitter_UpdateRemote_OngoingVerification { 4795 params := []pegomock.Param{_param0, _param1} 4796 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "UpdateRemote", params, verifier.timeout) 4797 return &MockGitter_UpdateRemote_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4798 } 4799 4800 type MockGitter_UpdateRemote_OngoingVerification struct { 4801 mock *MockGitter 4802 methodInvocations []pegomock.MethodInvocation 4803 } 4804 4805 func (c *MockGitter_UpdateRemote_OngoingVerification) GetCapturedArguments() (string, string) { 4806 _param0, _param1 := c.GetAllCapturedArguments() 4807 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4808 } 4809 4810 func (c *MockGitter_UpdateRemote_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4811 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4812 if len(params) > 0 { 4813 _param0 = make([]string, len(c.methodInvocations)) 4814 for u, param := range params[0] { 4815 _param0[u] = param.(string) 4816 } 4817 _param1 = make([]string, len(c.methodInvocations)) 4818 for u, param := range params[1] { 4819 _param1[u] = param.(string) 4820 } 4821 } 4822 return 4823 } 4824 4825 func (verifier *VerifierMockGitter) Username(_param0 string) *MockGitter_Username_OngoingVerification { 4826 params := []pegomock.Param{_param0} 4827 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Username", params, verifier.timeout) 4828 return &MockGitter_Username_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4829 } 4830 4831 type MockGitter_Username_OngoingVerification struct { 4832 mock *MockGitter 4833 methodInvocations []pegomock.MethodInvocation 4834 } 4835 4836 func (c *MockGitter_Username_OngoingVerification) GetCapturedArguments() string { 4837 _param0 := c.GetAllCapturedArguments() 4838 return _param0[len(_param0)-1] 4839 } 4840 4841 func (c *MockGitter_Username_OngoingVerification) GetAllCapturedArguments() (_param0 []string) { 4842 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4843 if len(params) > 0 { 4844 _param0 = make([]string, len(c.methodInvocations)) 4845 for u, param := range params[0] { 4846 _param0[u] = param.(string) 4847 } 4848 } 4849 return 4850 } 4851 4852 func (verifier *VerifierMockGitter) Version() *MockGitter_Version_OngoingVerification { 4853 params := []pegomock.Param{} 4854 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "Version", params, verifier.timeout) 4855 return &MockGitter_Version_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4856 } 4857 4858 type MockGitter_Version_OngoingVerification struct { 4859 mock *MockGitter 4860 methodInvocations []pegomock.MethodInvocation 4861 } 4862 4863 func (c *MockGitter_Version_OngoingVerification) GetCapturedArguments() { 4864 } 4865 4866 func (c *MockGitter_Version_OngoingVerification) GetAllCapturedArguments() { 4867 } 4868 4869 func (verifier *VerifierMockGitter) WriteRepoAttributes(_param0 string, _param1 string) *MockGitter_WriteRepoAttributes_OngoingVerification { 4870 params := []pegomock.Param{_param0, _param1} 4871 methodInvocations := pegomock.GetGenericMockFrom(verifier.mock).Verify(verifier.inOrderContext, verifier.invocationCountMatcher, "WriteRepoAttributes", params, verifier.timeout) 4872 return &MockGitter_WriteRepoAttributes_OngoingVerification{mock: verifier.mock, methodInvocations: methodInvocations} 4873 } 4874 4875 type MockGitter_WriteRepoAttributes_OngoingVerification struct { 4876 mock *MockGitter 4877 methodInvocations []pegomock.MethodInvocation 4878 } 4879 4880 func (c *MockGitter_WriteRepoAttributes_OngoingVerification) GetCapturedArguments() (string, string) { 4881 _param0, _param1 := c.GetAllCapturedArguments() 4882 return _param0[len(_param0)-1], _param1[len(_param1)-1] 4883 } 4884 4885 func (c *MockGitter_WriteRepoAttributes_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string) { 4886 params := pegomock.GetGenericMockFrom(c.mock).GetInvocationParams(c.methodInvocations) 4887 if len(params) > 0 { 4888 _param0 = make([]string, len(c.methodInvocations)) 4889 for u, param := range params[0] { 4890 _param0[u] = param.(string) 4891 } 4892 _param1 = make([]string, len(c.methodInvocations)) 4893 for u, param := range params[1] { 4894 _param1[u] = param.(string) 4895 } 4896 } 4897 return 4898 }