TestResponseWriter implements http.ResponseWriter and additional interfaces for testing
| 33 | |
| 34 | // TestResponseWriter implements http.ResponseWriter and additional interfaces for testing |
| 35 | type TestResponseWriter struct { |
| 36 | header http.Header |
| 37 | } |
| 38 | |
| 39 | func (w *TestResponseWriter) Header() http.Header { |
| 40 | if w.header == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected