github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/actor/sharedaction/sharedactionfakes/fake_config.go (about) 1 // Code generated by counterfeiter. DO NOT EDIT. 2 package sharedactionfakes 3 4 import ( 5 "sync" 6 7 "code.cloudfoundry.org/cli/actor/sharedaction" 8 ) 9 10 type FakeConfig struct { 11 AccessTokenStub func() string 12 accessTokenMutex sync.RWMutex 13 accessTokenArgsForCall []struct { 14 } 15 accessTokenReturns struct { 16 result1 string 17 } 18 accessTokenReturnsOnCall map[int]struct { 19 result1 string 20 } 21 BinaryNameStub func() string 22 binaryNameMutex sync.RWMutex 23 binaryNameArgsForCall []struct { 24 } 25 binaryNameReturns struct { 26 result1 string 27 } 28 binaryNameReturnsOnCall map[int]struct { 29 result1 string 30 } 31 CurrentUserNameStub func() (string, error) 32 currentUserNameMutex sync.RWMutex 33 currentUserNameArgsForCall []struct { 34 } 35 currentUserNameReturns struct { 36 result1 string 37 result2 error 38 } 39 currentUserNameReturnsOnCall map[int]struct { 40 result1 string 41 result2 error 42 } 43 HasTargetedOrganizationStub func() bool 44 hasTargetedOrganizationMutex sync.RWMutex 45 hasTargetedOrganizationArgsForCall []struct { 46 } 47 hasTargetedOrganizationReturns struct { 48 result1 bool 49 } 50 hasTargetedOrganizationReturnsOnCall map[int]struct { 51 result1 bool 52 } 53 HasTargetedSpaceStub func() bool 54 hasTargetedSpaceMutex sync.RWMutex 55 hasTargetedSpaceArgsForCall []struct { 56 } 57 hasTargetedSpaceReturns struct { 58 result1 bool 59 } 60 hasTargetedSpaceReturnsOnCall map[int]struct { 61 result1 bool 62 } 63 IsCFOnK8sStub func() bool 64 isCFOnK8sMutex sync.RWMutex 65 isCFOnK8sArgsForCall []struct { 66 } 67 isCFOnK8sReturns struct { 68 result1 bool 69 } 70 isCFOnK8sReturnsOnCall map[int]struct { 71 result1 bool 72 } 73 RefreshTokenStub func() string 74 refreshTokenMutex sync.RWMutex 75 refreshTokenArgsForCall []struct { 76 } 77 refreshTokenReturns struct { 78 result1 string 79 } 80 refreshTokenReturnsOnCall map[int]struct { 81 result1 string 82 } 83 TargetedOrganizationNameStub func() string 84 targetedOrganizationNameMutex sync.RWMutex 85 targetedOrganizationNameArgsForCall []struct { 86 } 87 targetedOrganizationNameReturns struct { 88 result1 string 89 } 90 targetedOrganizationNameReturnsOnCall map[int]struct { 91 result1 string 92 } 93 VerboseStub func() (bool, []string) 94 verboseMutex sync.RWMutex 95 verboseArgsForCall []struct { 96 } 97 verboseReturns struct { 98 result1 bool 99 result2 []string 100 } 101 verboseReturnsOnCall map[int]struct { 102 result1 bool 103 result2 []string 104 } 105 invocations map[string][][]interface{} 106 invocationsMutex sync.RWMutex 107 } 108 109 func (fake *FakeConfig) AccessToken() string { 110 fake.accessTokenMutex.Lock() 111 ret, specificReturn := fake.accessTokenReturnsOnCall[len(fake.accessTokenArgsForCall)] 112 fake.accessTokenArgsForCall = append(fake.accessTokenArgsForCall, struct { 113 }{}) 114 fake.recordInvocation("AccessToken", []interface{}{}) 115 fake.accessTokenMutex.Unlock() 116 if fake.AccessTokenStub != nil { 117 return fake.AccessTokenStub() 118 } 119 if specificReturn { 120 return ret.result1 121 } 122 fakeReturns := fake.accessTokenReturns 123 return fakeReturns.result1 124 } 125 126 func (fake *FakeConfig) AccessTokenCallCount() int { 127 fake.accessTokenMutex.RLock() 128 defer fake.accessTokenMutex.RUnlock() 129 return len(fake.accessTokenArgsForCall) 130 } 131 132 func (fake *FakeConfig) AccessTokenCalls(stub func() string) { 133 fake.accessTokenMutex.Lock() 134 defer fake.accessTokenMutex.Unlock() 135 fake.AccessTokenStub = stub 136 } 137 138 func (fake *FakeConfig) AccessTokenReturns(result1 string) { 139 fake.accessTokenMutex.Lock() 140 defer fake.accessTokenMutex.Unlock() 141 fake.AccessTokenStub = nil 142 fake.accessTokenReturns = struct { 143 result1 string 144 }{result1} 145 } 146 147 func (fake *FakeConfig) AccessTokenReturnsOnCall(i int, result1 string) { 148 fake.accessTokenMutex.Lock() 149 defer fake.accessTokenMutex.Unlock() 150 fake.AccessTokenStub = nil 151 if fake.accessTokenReturnsOnCall == nil { 152 fake.accessTokenReturnsOnCall = make(map[int]struct { 153 result1 string 154 }) 155 } 156 fake.accessTokenReturnsOnCall[i] = struct { 157 result1 string 158 }{result1} 159 } 160 161 func (fake *FakeConfig) BinaryName() string { 162 fake.binaryNameMutex.Lock() 163 ret, specificReturn := fake.binaryNameReturnsOnCall[len(fake.binaryNameArgsForCall)] 164 fake.binaryNameArgsForCall = append(fake.binaryNameArgsForCall, struct { 165 }{}) 166 fake.recordInvocation("BinaryName", []interface{}{}) 167 fake.binaryNameMutex.Unlock() 168 if fake.BinaryNameStub != nil { 169 return fake.BinaryNameStub() 170 } 171 if specificReturn { 172 return ret.result1 173 } 174 fakeReturns := fake.binaryNameReturns 175 return fakeReturns.result1 176 } 177 178 func (fake *FakeConfig) BinaryNameCallCount() int { 179 fake.binaryNameMutex.RLock() 180 defer fake.binaryNameMutex.RUnlock() 181 return len(fake.binaryNameArgsForCall) 182 } 183 184 func (fake *FakeConfig) BinaryNameCalls(stub func() string) { 185 fake.binaryNameMutex.Lock() 186 defer fake.binaryNameMutex.Unlock() 187 fake.BinaryNameStub = stub 188 } 189 190 func (fake *FakeConfig) BinaryNameReturns(result1 string) { 191 fake.binaryNameMutex.Lock() 192 defer fake.binaryNameMutex.Unlock() 193 fake.BinaryNameStub = nil 194 fake.binaryNameReturns = struct { 195 result1 string 196 }{result1} 197 } 198 199 func (fake *FakeConfig) BinaryNameReturnsOnCall(i int, result1 string) { 200 fake.binaryNameMutex.Lock() 201 defer fake.binaryNameMutex.Unlock() 202 fake.BinaryNameStub = nil 203 if fake.binaryNameReturnsOnCall == nil { 204 fake.binaryNameReturnsOnCall = make(map[int]struct { 205 result1 string 206 }) 207 } 208 fake.binaryNameReturnsOnCall[i] = struct { 209 result1 string 210 }{result1} 211 } 212 213 func (fake *FakeConfig) CurrentUserName() (string, error) { 214 fake.currentUserNameMutex.Lock() 215 ret, specificReturn := fake.currentUserNameReturnsOnCall[len(fake.currentUserNameArgsForCall)] 216 fake.currentUserNameArgsForCall = append(fake.currentUserNameArgsForCall, struct { 217 }{}) 218 fake.recordInvocation("CurrentUserName", []interface{}{}) 219 fake.currentUserNameMutex.Unlock() 220 if fake.CurrentUserNameStub != nil { 221 return fake.CurrentUserNameStub() 222 } 223 if specificReturn { 224 return ret.result1, ret.result2 225 } 226 fakeReturns := fake.currentUserNameReturns 227 return fakeReturns.result1, fakeReturns.result2 228 } 229 230 func (fake *FakeConfig) CurrentUserNameCallCount() int { 231 fake.currentUserNameMutex.RLock() 232 defer fake.currentUserNameMutex.RUnlock() 233 return len(fake.currentUserNameArgsForCall) 234 } 235 236 func (fake *FakeConfig) CurrentUserNameCalls(stub func() (string, error)) { 237 fake.currentUserNameMutex.Lock() 238 defer fake.currentUserNameMutex.Unlock() 239 fake.CurrentUserNameStub = stub 240 } 241 242 func (fake *FakeConfig) CurrentUserNameReturns(result1 string, result2 error) { 243 fake.currentUserNameMutex.Lock() 244 defer fake.currentUserNameMutex.Unlock() 245 fake.CurrentUserNameStub = nil 246 fake.currentUserNameReturns = struct { 247 result1 string 248 result2 error 249 }{result1, result2} 250 } 251 252 func (fake *FakeConfig) CurrentUserNameReturnsOnCall(i int, result1 string, result2 error) { 253 fake.currentUserNameMutex.Lock() 254 defer fake.currentUserNameMutex.Unlock() 255 fake.CurrentUserNameStub = nil 256 if fake.currentUserNameReturnsOnCall == nil { 257 fake.currentUserNameReturnsOnCall = make(map[int]struct { 258 result1 string 259 result2 error 260 }) 261 } 262 fake.currentUserNameReturnsOnCall[i] = struct { 263 result1 string 264 result2 error 265 }{result1, result2} 266 } 267 268 func (fake *FakeConfig) HasTargetedOrganization() bool { 269 fake.hasTargetedOrganizationMutex.Lock() 270 ret, specificReturn := fake.hasTargetedOrganizationReturnsOnCall[len(fake.hasTargetedOrganizationArgsForCall)] 271 fake.hasTargetedOrganizationArgsForCall = append(fake.hasTargetedOrganizationArgsForCall, struct { 272 }{}) 273 fake.recordInvocation("HasTargetedOrganization", []interface{}{}) 274 fake.hasTargetedOrganizationMutex.Unlock() 275 if fake.HasTargetedOrganizationStub != nil { 276 return fake.HasTargetedOrganizationStub() 277 } 278 if specificReturn { 279 return ret.result1 280 } 281 fakeReturns := fake.hasTargetedOrganizationReturns 282 return fakeReturns.result1 283 } 284 285 func (fake *FakeConfig) HasTargetedOrganizationCallCount() int { 286 fake.hasTargetedOrganizationMutex.RLock() 287 defer fake.hasTargetedOrganizationMutex.RUnlock() 288 return len(fake.hasTargetedOrganizationArgsForCall) 289 } 290 291 func (fake *FakeConfig) HasTargetedOrganizationCalls(stub func() bool) { 292 fake.hasTargetedOrganizationMutex.Lock() 293 defer fake.hasTargetedOrganizationMutex.Unlock() 294 fake.HasTargetedOrganizationStub = stub 295 } 296 297 func (fake *FakeConfig) HasTargetedOrganizationReturns(result1 bool) { 298 fake.hasTargetedOrganizationMutex.Lock() 299 defer fake.hasTargetedOrganizationMutex.Unlock() 300 fake.HasTargetedOrganizationStub = nil 301 fake.hasTargetedOrganizationReturns = struct { 302 result1 bool 303 }{result1} 304 } 305 306 func (fake *FakeConfig) HasTargetedOrganizationReturnsOnCall(i int, result1 bool) { 307 fake.hasTargetedOrganizationMutex.Lock() 308 defer fake.hasTargetedOrganizationMutex.Unlock() 309 fake.HasTargetedOrganizationStub = nil 310 if fake.hasTargetedOrganizationReturnsOnCall == nil { 311 fake.hasTargetedOrganizationReturnsOnCall = make(map[int]struct { 312 result1 bool 313 }) 314 } 315 fake.hasTargetedOrganizationReturnsOnCall[i] = struct { 316 result1 bool 317 }{result1} 318 } 319 320 func (fake *FakeConfig) HasTargetedSpace() bool { 321 fake.hasTargetedSpaceMutex.Lock() 322 ret, specificReturn := fake.hasTargetedSpaceReturnsOnCall[len(fake.hasTargetedSpaceArgsForCall)] 323 fake.hasTargetedSpaceArgsForCall = append(fake.hasTargetedSpaceArgsForCall, struct { 324 }{}) 325 fake.recordInvocation("HasTargetedSpace", []interface{}{}) 326 fake.hasTargetedSpaceMutex.Unlock() 327 if fake.HasTargetedSpaceStub != nil { 328 return fake.HasTargetedSpaceStub() 329 } 330 if specificReturn { 331 return ret.result1 332 } 333 fakeReturns := fake.hasTargetedSpaceReturns 334 return fakeReturns.result1 335 } 336 337 func (fake *FakeConfig) HasTargetedSpaceCallCount() int { 338 fake.hasTargetedSpaceMutex.RLock() 339 defer fake.hasTargetedSpaceMutex.RUnlock() 340 return len(fake.hasTargetedSpaceArgsForCall) 341 } 342 343 func (fake *FakeConfig) HasTargetedSpaceCalls(stub func() bool) { 344 fake.hasTargetedSpaceMutex.Lock() 345 defer fake.hasTargetedSpaceMutex.Unlock() 346 fake.HasTargetedSpaceStub = stub 347 } 348 349 func (fake *FakeConfig) HasTargetedSpaceReturns(result1 bool) { 350 fake.hasTargetedSpaceMutex.Lock() 351 defer fake.hasTargetedSpaceMutex.Unlock() 352 fake.HasTargetedSpaceStub = nil 353 fake.hasTargetedSpaceReturns = struct { 354 result1 bool 355 }{result1} 356 } 357 358 func (fake *FakeConfig) HasTargetedSpaceReturnsOnCall(i int, result1 bool) { 359 fake.hasTargetedSpaceMutex.Lock() 360 defer fake.hasTargetedSpaceMutex.Unlock() 361 fake.HasTargetedSpaceStub = nil 362 if fake.hasTargetedSpaceReturnsOnCall == nil { 363 fake.hasTargetedSpaceReturnsOnCall = make(map[int]struct { 364 result1 bool 365 }) 366 } 367 fake.hasTargetedSpaceReturnsOnCall[i] = struct { 368 result1 bool 369 }{result1} 370 } 371 372 func (fake *FakeConfig) IsCFOnK8s() bool { 373 fake.isCFOnK8sMutex.Lock() 374 ret, specificReturn := fake.isCFOnK8sReturnsOnCall[len(fake.isCFOnK8sArgsForCall)] 375 fake.isCFOnK8sArgsForCall = append(fake.isCFOnK8sArgsForCall, struct { 376 }{}) 377 fake.recordInvocation("IsCFOnK8s", []interface{}{}) 378 fake.isCFOnK8sMutex.Unlock() 379 if fake.IsCFOnK8sStub != nil { 380 return fake.IsCFOnK8sStub() 381 } 382 if specificReturn { 383 return ret.result1 384 } 385 fakeReturns := fake.isCFOnK8sReturns 386 return fakeReturns.result1 387 } 388 389 func (fake *FakeConfig) IsCFOnK8sCallCount() int { 390 fake.isCFOnK8sMutex.RLock() 391 defer fake.isCFOnK8sMutex.RUnlock() 392 return len(fake.isCFOnK8sArgsForCall) 393 } 394 395 func (fake *FakeConfig) IsCFOnK8sCalls(stub func() bool) { 396 fake.isCFOnK8sMutex.Lock() 397 defer fake.isCFOnK8sMutex.Unlock() 398 fake.IsCFOnK8sStub = stub 399 } 400 401 func (fake *FakeConfig) IsCFOnK8sReturns(result1 bool) { 402 fake.isCFOnK8sMutex.Lock() 403 defer fake.isCFOnK8sMutex.Unlock() 404 fake.IsCFOnK8sStub = nil 405 fake.isCFOnK8sReturns = struct { 406 result1 bool 407 }{result1} 408 } 409 410 func (fake *FakeConfig) IsCFOnK8sReturnsOnCall(i int, result1 bool) { 411 fake.isCFOnK8sMutex.Lock() 412 defer fake.isCFOnK8sMutex.Unlock() 413 fake.IsCFOnK8sStub = nil 414 if fake.isCFOnK8sReturnsOnCall == nil { 415 fake.isCFOnK8sReturnsOnCall = make(map[int]struct { 416 result1 bool 417 }) 418 } 419 fake.isCFOnK8sReturnsOnCall[i] = struct { 420 result1 bool 421 }{result1} 422 } 423 424 func (fake *FakeConfig) RefreshToken() string { 425 fake.refreshTokenMutex.Lock() 426 ret, specificReturn := fake.refreshTokenReturnsOnCall[len(fake.refreshTokenArgsForCall)] 427 fake.refreshTokenArgsForCall = append(fake.refreshTokenArgsForCall, struct { 428 }{}) 429 fake.recordInvocation("RefreshToken", []interface{}{}) 430 fake.refreshTokenMutex.Unlock() 431 if fake.RefreshTokenStub != nil { 432 return fake.RefreshTokenStub() 433 } 434 if specificReturn { 435 return ret.result1 436 } 437 fakeReturns := fake.refreshTokenReturns 438 return fakeReturns.result1 439 } 440 441 func (fake *FakeConfig) RefreshTokenCallCount() int { 442 fake.refreshTokenMutex.RLock() 443 defer fake.refreshTokenMutex.RUnlock() 444 return len(fake.refreshTokenArgsForCall) 445 } 446 447 func (fake *FakeConfig) RefreshTokenCalls(stub func() string) { 448 fake.refreshTokenMutex.Lock() 449 defer fake.refreshTokenMutex.Unlock() 450 fake.RefreshTokenStub = stub 451 } 452 453 func (fake *FakeConfig) RefreshTokenReturns(result1 string) { 454 fake.refreshTokenMutex.Lock() 455 defer fake.refreshTokenMutex.Unlock() 456 fake.RefreshTokenStub = nil 457 fake.refreshTokenReturns = struct { 458 result1 string 459 }{result1} 460 } 461 462 func (fake *FakeConfig) RefreshTokenReturnsOnCall(i int, result1 string) { 463 fake.refreshTokenMutex.Lock() 464 defer fake.refreshTokenMutex.Unlock() 465 fake.RefreshTokenStub = nil 466 if fake.refreshTokenReturnsOnCall == nil { 467 fake.refreshTokenReturnsOnCall = make(map[int]struct { 468 result1 string 469 }) 470 } 471 fake.refreshTokenReturnsOnCall[i] = struct { 472 result1 string 473 }{result1} 474 } 475 476 func (fake *FakeConfig) TargetedOrganizationName() string { 477 fake.targetedOrganizationNameMutex.Lock() 478 ret, specificReturn := fake.targetedOrganizationNameReturnsOnCall[len(fake.targetedOrganizationNameArgsForCall)] 479 fake.targetedOrganizationNameArgsForCall = append(fake.targetedOrganizationNameArgsForCall, struct { 480 }{}) 481 fake.recordInvocation("TargetedOrganizationName", []interface{}{}) 482 fake.targetedOrganizationNameMutex.Unlock() 483 if fake.TargetedOrganizationNameStub != nil { 484 return fake.TargetedOrganizationNameStub() 485 } 486 if specificReturn { 487 return ret.result1 488 } 489 fakeReturns := fake.targetedOrganizationNameReturns 490 return fakeReturns.result1 491 } 492 493 func (fake *FakeConfig) TargetedOrganizationNameCallCount() int { 494 fake.targetedOrganizationNameMutex.RLock() 495 defer fake.targetedOrganizationNameMutex.RUnlock() 496 return len(fake.targetedOrganizationNameArgsForCall) 497 } 498 499 func (fake *FakeConfig) TargetedOrganizationNameCalls(stub func() string) { 500 fake.targetedOrganizationNameMutex.Lock() 501 defer fake.targetedOrganizationNameMutex.Unlock() 502 fake.TargetedOrganizationNameStub = stub 503 } 504 505 func (fake *FakeConfig) TargetedOrganizationNameReturns(result1 string) { 506 fake.targetedOrganizationNameMutex.Lock() 507 defer fake.targetedOrganizationNameMutex.Unlock() 508 fake.TargetedOrganizationNameStub = nil 509 fake.targetedOrganizationNameReturns = struct { 510 result1 string 511 }{result1} 512 } 513 514 func (fake *FakeConfig) TargetedOrganizationNameReturnsOnCall(i int, result1 string) { 515 fake.targetedOrganizationNameMutex.Lock() 516 defer fake.targetedOrganizationNameMutex.Unlock() 517 fake.TargetedOrganizationNameStub = nil 518 if fake.targetedOrganizationNameReturnsOnCall == nil { 519 fake.targetedOrganizationNameReturnsOnCall = make(map[int]struct { 520 result1 string 521 }) 522 } 523 fake.targetedOrganizationNameReturnsOnCall[i] = struct { 524 result1 string 525 }{result1} 526 } 527 528 func (fake *FakeConfig) Verbose() (bool, []string) { 529 fake.verboseMutex.Lock() 530 ret, specificReturn := fake.verboseReturnsOnCall[len(fake.verboseArgsForCall)] 531 fake.verboseArgsForCall = append(fake.verboseArgsForCall, struct { 532 }{}) 533 fake.recordInvocation("Verbose", []interface{}{}) 534 fake.verboseMutex.Unlock() 535 if fake.VerboseStub != nil { 536 return fake.VerboseStub() 537 } 538 if specificReturn { 539 return ret.result1, ret.result2 540 } 541 fakeReturns := fake.verboseReturns 542 return fakeReturns.result1, fakeReturns.result2 543 } 544 545 func (fake *FakeConfig) VerboseCallCount() int { 546 fake.verboseMutex.RLock() 547 defer fake.verboseMutex.RUnlock() 548 return len(fake.verboseArgsForCall) 549 } 550 551 func (fake *FakeConfig) VerboseCalls(stub func() (bool, []string)) { 552 fake.verboseMutex.Lock() 553 defer fake.verboseMutex.Unlock() 554 fake.VerboseStub = stub 555 } 556 557 func (fake *FakeConfig) VerboseReturns(result1 bool, result2 []string) { 558 fake.verboseMutex.Lock() 559 defer fake.verboseMutex.Unlock() 560 fake.VerboseStub = nil 561 fake.verboseReturns = struct { 562 result1 bool 563 result2 []string 564 }{result1, result2} 565 } 566 567 func (fake *FakeConfig) VerboseReturnsOnCall(i int, result1 bool, result2 []string) { 568 fake.verboseMutex.Lock() 569 defer fake.verboseMutex.Unlock() 570 fake.VerboseStub = nil 571 if fake.verboseReturnsOnCall == nil { 572 fake.verboseReturnsOnCall = make(map[int]struct { 573 result1 bool 574 result2 []string 575 }) 576 } 577 fake.verboseReturnsOnCall[i] = struct { 578 result1 bool 579 result2 []string 580 }{result1, result2} 581 } 582 583 func (fake *FakeConfig) Invocations() map[string][][]interface{} { 584 fake.invocationsMutex.RLock() 585 defer fake.invocationsMutex.RUnlock() 586 fake.accessTokenMutex.RLock() 587 defer fake.accessTokenMutex.RUnlock() 588 fake.binaryNameMutex.RLock() 589 defer fake.binaryNameMutex.RUnlock() 590 fake.currentUserNameMutex.RLock() 591 defer fake.currentUserNameMutex.RUnlock() 592 fake.hasTargetedOrganizationMutex.RLock() 593 defer fake.hasTargetedOrganizationMutex.RUnlock() 594 fake.hasTargetedSpaceMutex.RLock() 595 defer fake.hasTargetedSpaceMutex.RUnlock() 596 fake.isCFOnK8sMutex.RLock() 597 defer fake.isCFOnK8sMutex.RUnlock() 598 fake.refreshTokenMutex.RLock() 599 defer fake.refreshTokenMutex.RUnlock() 600 fake.targetedOrganizationNameMutex.RLock() 601 defer fake.targetedOrganizationNameMutex.RUnlock() 602 fake.verboseMutex.RLock() 603 defer fake.verboseMutex.RUnlock() 604 copiedInvocations := map[string][][]interface{}{} 605 for key, value := range fake.invocations { 606 copiedInvocations[key] = value 607 } 608 return copiedInvocations 609 } 610 611 func (fake *FakeConfig) recordInvocation(key string, args []interface{}) { 612 fake.invocationsMutex.Lock() 613 defer fake.invocationsMutex.Unlock() 614 if fake.invocations == nil { 615 fake.invocations = map[string][][]interface{}{} 616 } 617 if fake.invocations[key] == nil { 618 fake.invocations[key] = [][]interface{}{} 619 } 620 fake.invocations[key] = append(fake.invocations[key], args) 621 } 622 623 var _ sharedaction.Config = new(FakeConfig)