()
| 1546 | } |
| 1547 | |
| 1548 | func (r *requestRecorder) clear() { |
| 1549 | r.mu.Lock() |
| 1550 | defer r.mu.Unlock() |
| 1551 | r.requests = nil |
| 1552 | } |
| 1553 | |
| 1554 | func newInMemoryClient(t *testing.T) (*Client, *requestRecorder, func()) { |
| 1555 | t.Helper() |
no outgoing calls
no test coverage detected