| 16 | } |
| 17 | |
| 18 | type Registry struct { |
| 19 | mu sync.Mutex |
| 20 | stubs []*Stub |
| 21 | Requests []*http.Request |
| 22 | } |
| 23 | |
| 24 | func (r *Registry) Register(m Matcher, resp Responder) { |
| 25 | r.stubs = append(r.stubs, &Stub{ |
nothing calls this directly
no outgoing calls
no test coverage detected