kubernetes/test/integration/apiserver/admissionwebhook/invalid_managedFields_test.go

// TestMutatingWebhookResetsInvalidManagedFields ensures that the API server
// resets managedFields to their state before admission if a mutating webhook
// patches create/update requests with invalid managedFields.
func TestMutatingWebhookResetsInvalidManagedFields(t *testing.T) {}

// validate against both decoding and validation to make sure we use the hardest rule between the both to reset
// with decoding being as strict as it gets, only using it should be enough in admission
func validateManagedFieldsAndDecode(managedFields []metav1.ManagedFieldsEntry) error {}

func newInvalidManagedFieldsWebhookHandler(t *testing.T) http.Handler {}

var invalidManagedFieldsMarkerFixture