expectQueryParams is a helper function to create a partial mock that expects a request with the given query parameters, with the ability to chain a response handler.
(t *testing.T, expectedQueryParams map[string]string)
| 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. |
| 232 | func expectQueryParams(t *testing.T, expectedQueryParams map[string]string) *partialMock { |
| 233 | return &partialMock{ |
| 234 | t: t, |
| 235 | expectedQueryParams: expectedQueryParams, |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | // expectRequestBody is a helper function to create a partial mock that expects a |
| 240 | // request with the given body, with the ability to chain a response handler. |
no outgoing calls
no test coverage detected