func MakeDeployment(name string) *extbeta1.Deployment {
	deployment := &extbeta1.Deployment{}
	deployment.Name = name
	deployment.Namespace = "testing"
	deployment.Spec.Replicas = pointer(int32(3))
	if name == "fail" {
		deployment.Status.UpdatedReplicas = int32(2)
		deployment.Status.AvailableReplicas = int32(3)
	} else if name == "failav" {
		deployment.Status.UpdatedReplicas = int32(3)
		deployment.Status.AvailableReplicas = int32(2)
	} else {
		deployment.Status.UpdatedReplicas = int32(3)
		deployment.Status.AvailableReplicas = int32(3)
	}
	return deployment
}
MakeDeployment creates mock Deployment
package mocks
import extbeta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1"
type deploymentClient struct {
}