MCPcopy Create free account
hub / github.com/cloudfoundry/garden / ID

Method ID

gardenfakes/fake_process.go:59–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59func (fake *FakeProcess) ID() string {
60 fake.iDMutex.Lock()
61 ret, specificReturn := fake.iDReturnsOnCall[len(fake.iDArgsForCall)]
62 fake.iDArgsForCall = append(fake.iDArgsForCall, struct {
63 }{})
64 fake.recordInvocation("ID", []interface{}{})
65 fake.iDMutex.Unlock()
66 if fake.IDStub != nil {
67 return fake.IDStub()
68 }
69 if specificReturn {
70 return ret.result1
71 }
72 fakeReturns := fake.iDReturns
73 return fakeReturns.result1
74}
75
76func (fake *FakeProcess) IDCallCount() int {
77 fake.iDMutex.RLock()

Callers

nothing calls this directly

Calls 1

recordInvocationMethod · 0.95

Tested by

no test coverage detected