package sub2api import ( "context" "testing" ) func TestHostAdapter_NilConfig(t *testing.T) { // Test adapter creation with nil/empty config _ = context.Background() } func TestErrorMapping(t *testing.T) { // Test error code mapping tests := []struct { code int expected string }{ {200, "ok"}, {401, "unauthorized"}, {403, "forbidden"}, {404, "not_found"}, {500, "server_error"}, } for _, tt := range tests { _ = tt.code _ = tt.expected } } func TestAccountState_Valid(t *testing.T) { states := []string{ "active", "disabled", "pending", "", } for _, s := range states { _ = s } }