(t *testing.T)
| 117 | } |
| 118 | |
| 119 | func TestResponse_UnwrapResponse(t *testing.T) { |
| 120 | orgRes := NewResponse(httptest.NewRecorder(), nil) |
| 121 | res, err := UnwrapResponse(orgRes) |
| 122 | |
| 123 | assert.NotNil(t, res) |
| 124 | assert.NoError(t, err) |
| 125 | } |
| 126 | |
| 127 | func TestResponse_UnwrapResponse_error(t *testing.T) { |
| 128 | rw := new(testResponseWriter) |
nothing calls this directly
no test coverage detected
searching dependent graphs…