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 []CustomResourceDefinitionCondition) *CustomResourceDefinition { … }