func MakePetSet(name string) *appsalpha1.PetSet {
	petSet := &appsalpha1.PetSet{}
	petSet.Name = name
	petSet.Namespace = "testing"
	petSet.Spec.Replicas = pointer(int32(3))
	petSet.Spec.Template.ObjectMeta.Labels = make(map[string]string)
	if name == "fail" {
		petSet.Spec.Template.ObjectMeta.Labels["failedpod"] = "yes"
		petSet.Status.Replicas = int32(2)
	} else {
		petSet.Status.Replicas = int32(3)
	}
	return petSet
}
MakePetSet returns a new K8s PetSet object for the client to return. If it's name is "fail" it will have labels that will cause it's underlying mock Pods to fail.
package mocks
import appsalpha1 "github.com/Mirantis/k8s-AppController/pkg/client/petsets/apis/apps/v1alpha1"