func TestIsProtectedCommunityGroup(t *testing.T) { … } func TestGetAPIApprovalState(t *testing.T) { … } func TestCRDHasFinalizer(t *testing.T) { … } func TestCRDRemoveFinalizer(t *testing.T) { … } func TestSetCRDCondition(t *testing.T) { … } func TestRemoveCRDCondition(t *testing.T) { … } func TestIsCRDConditionPresentAndEqual(t *testing.T) { … } func generateCRDwithCondition(conditions []apiextensionsv1.CustomResourceDefinitionCondition) *apiextensionsv1.CustomResourceDefinition { … }