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

Method ErrorCodeReturns

cf/errors/errorsfakes/fake_httperror.go:128–135  ·  view source on GitHub ↗
(result1 string)

Source from the content-addressed store, hash-verified

126}
127
128func (fake *FakeHTTPError) ErrorCodeReturns(result1 string) {
129 fake.errorCodeMutex.Lock()
130 defer fake.errorCodeMutex.Unlock()
131 fake.ErrorCodeStub = nil
132 fake.errorCodeReturns = struct {
133 result1 string
134 }{result1}
135}
136
137func (fake *FakeHTTPError) ErrorCodeReturnsOnCall(i int, result1 string) {
138 fake.errorCodeMutex.Lock()

Callers 1

routes_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected