(status: StatusCode, body: impl Into<String>)
| 25 | |
| 26 | impl StubResponse { |
| 27 | pub fn new(status: StatusCode, body: impl Into<String>) -> Self { |
| 28 | Self { |
| 29 | status, |
| 30 | body: body.into(), |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | /// Generate a unique Unix socket path for a test. |
nothing calls this directly
no outgoing calls
no test coverage detected