func TestStrategy_NamespaceScoped(t *testing.T) { … } func TestStrategy_AllowCreateOnUpdate(t *testing.T) { … } func TestStrategy_Validate(t *testing.T) { … } func TestStrategy_ValidateUpdate(t *testing.T) { … } func newControllerRevision(name, namespace string, data runtime.RawExtension, revision int64) *apps.ControllerRevision { … } func newStatefulSet() *apps.StatefulSet { … } func newRawExtensionFromObject(obj runtime.Object) runtime.RawExtension { … } func newObject() runtime.RawExtension { … }