(t *testing.T)
| 112 | } |
| 113 | |
| 114 | func TestClient_SendRequest_MissingURI(t *testing.T) { |
| 115 | client := NewClient() |
| 116 | req := client.Request() |
| 117 | req.SetMethod("GET") |
| 118 | |
| 119 | err := client.SendRequest() |
| 120 | if !errors.Is(err, ErrURIRequired) { |
| 121 | t.Fatalf("expected ErrURIRequired, got %v", err) |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | func TestClient_SendRequest_MissingMethod(t *testing.T) { |
| 126 | client := NewClient() |
nothing calls this directly
no test coverage detected