(t *testing.T)
| 26 | } |
| 27 | |
| 28 | func TestDefaultConfigValidates(t *testing.T) { |
| 29 | config := NewTestConfig() |
| 30 | if err := config.Validate(); err != nil { |
| 31 | t.Error(err) |
| 32 | } |
| 33 | if config.MetricRegistry == nil { |
| 34 | t.Error("Expected non nil metrics.MetricRegistry, got nil") |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | // TestInvalidClientIDValidated ensures that the ClientID field is checked |
| 39 | // when Version is set to anything less than 1_0_0_0, but otherwise accepted |
nothing calls this directly
no test coverage detected