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 newControllerRevision(name, namespace string, data runtime.RawExtension, revision int64) *apps.ControllerRevision { … } func stripObjectMeta(revision *apps.ControllerRevision) *apps.ControllerRevision { … } func newStorage(t *testing.T) (*REST, *etcd3testing.EtcdTestServer) { … } func newStatefulSet() *apps.StatefulSet { … } func newRawExtensionFromObject(obj runtime.Object) runtime.RawExtension { … } func newObject() runtime.RawExtension { … }