(ctx context.Context, req any)
| 31 | } |
| 32 | |
| 33 | func (h *mockHandler) Handler(ctx context.Context, req any) (any, error) { |
| 34 | h.ctx, h.req = ctx, req |
| 35 | if h.call != nil { |
| 36 | h.call(ctx, req) |
| 37 | } |
| 38 | return h.res, h.err |
| 39 | } |
| 40 | |
| 41 | type mockFetcher struct { |
| 42 | // Request vars |
no outgoing calls
no test coverage detected