(t *testing.T)
| 69 | } |
| 70 | |
| 71 | func TestRequest_SetRequestURI(t *testing.T) { |
| 72 | client := NewClient() |
| 73 | req := client.Request() |
| 74 | uri := "https://example.com/api" |
| 75 | |
| 76 | req.SetRequestURI(uri) |
| 77 | if req.uri != uri { |
| 78 | t.Fatalf("expected uri to be %s, got %s", uri, req.uri) |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | func TestRequest_SetMethod(t *testing.T) { |
| 83 | client := NewClient() |
nothing calls this directly
no test coverage detected