// TestAddFeaturesToExistingFeatureGates ensures that // the defaultKubernetesFeatureGates are added to a test feature gates registry. func TestAddFeaturesToExistingFeatureGates(t *testing.T) { … } func TestReplaceFeatureGatesWithWarningIndicator(t *testing.T) { … } type fakeRegistry … func (f *fakeRegistry) Add(specs map[Feature]FeatureSpec) error { … }