func TestCreate(t *testing.T) { … } func TestUpdate(t *testing.T) { … } func TestGet(t *testing.T) { … } func TestList(t *testing.T) { … } func TestDelete(t *testing.T) { … } func TestWatch(t *testing.T) { … } func validPolicyBindings() []*admissionregistration.ValidatingAdmissionPolicyBinding { … } func newPolicyBinding(name string) *admissionregistration.ValidatingAdmissionPolicyBinding { … } func newInsecureStorage(t *testing.T) (*REST, *etcd3testing.EtcdTestServer) { … } func newStorage(t *testing.T, authorizer authorizer.Authorizer, policyGetter PolicyGetter, resourceResolver resolver.ResourceResolver) (*REST, *etcd3testing.EtcdTestServer) { … } func TestCategories(t *testing.T) { … }