expectPath is a helper function to create a partial mock that expects a request with the given path, with the ability to chain a response handler.
(t *testing.T, expectedPath string)
| 221 | // expectPath is a helper function to create a partial mock that expects a |
| 222 | // request with the given path, with the ability to chain a response handler. |
| 223 | func expectPath(t *testing.T, expectedPath string) *partialMock { |
| 224 | return &partialMock{ |
| 225 | t: t, |
| 226 | expectedPath: expectedPath, |
| 227 | } |
| 228 | } |
| 229 | |
| 230 | // expectQueryParams is a helper function to create a partial mock that expects a |
| 231 | // request with the given query parameters, with the ability to chain a response handler. |
no outgoing calls
no test coverage detected