MCPcopy Create free account
hub / github.com/cloudfoundry/cli / FakeHelpActor

Struct FakeHelpActor

command/common/commonfakes/fake_help_actor.go:11–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type FakeHelpActor struct {
12 CommandInfoByNameStub func(interface{}, string) (sharedaction.CommandInfo, error)
13 commandInfoByNameMutex sync.RWMutex
14 commandInfoByNameArgsForCall []struct {
15 arg1 interface{}
16 arg2 string
17 }
18 commandInfoByNameReturns struct {
19 result1 sharedaction.CommandInfo
20 result2 error
21 }
22 commandInfoByNameReturnsOnCall map[int]struct {
23 result1 sharedaction.CommandInfo
24 result2 error
25 }
26 CommandInfosStub func(interface{}) map[string]sharedaction.CommandInfo
27 commandInfosMutex sync.RWMutex
28 commandInfosArgsForCall []struct {
29 arg1 interface{}
30 }
31 commandInfosReturns struct {
32 result1 map[string]sharedaction.CommandInfo
33 }
34 commandInfosReturnsOnCall map[int]struct {
35 result1 map[string]sharedaction.CommandInfo
36 }
37 invocations map[string][][]interface{}
38 invocationsMutex sync.RWMutex
39}
40
41func (fake *FakeHelpActor) CommandInfoByName(arg1 interface{}, arg2 string) (sharedaction.CommandInfo, error) {
42 fake.commandInfoByNameMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected