| 8 | ) |
| 9 | |
| 10 | type FakeHTTPError struct { |
| 11 | ErrorStub func() string |
| 12 | errorMutex sync.RWMutex |
| 13 | errorArgsForCall []struct { |
| 14 | } |
| 15 | errorReturns struct { |
| 16 | result1 string |
| 17 | } |
| 18 | errorReturnsOnCall map[int]struct { |
| 19 | result1 string |
| 20 | } |
| 21 | ErrorCodeStub func() string |
| 22 | errorCodeMutex sync.RWMutex |
| 23 | errorCodeArgsForCall []struct { |
| 24 | } |
| 25 | errorCodeReturns struct { |
| 26 | result1 string |
| 27 | } |
| 28 | errorCodeReturnsOnCall map[int]struct { |
| 29 | result1 string |
| 30 | } |
| 31 | StatusCodeStub func() int |
| 32 | statusCodeMutex sync.RWMutex |
| 33 | statusCodeArgsForCall []struct { |
| 34 | } |
| 35 | statusCodeReturns struct { |
| 36 | result1 int |
| 37 | } |
| 38 | statusCodeReturnsOnCall map[int]struct { |
| 39 | result1 int |
| 40 | } |
| 41 | invocations map[string][][]interface{} |
| 42 | invocationsMutex sync.RWMutex |
| 43 | } |
| 44 | |
| 45 | func (fake *FakeHTTPError) Error() string { |
| 46 | fake.errorMutex.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected