func (m FailToUpdateK8sClient) Status() client.StatusWriter {
	return &FailToUpdateK8sStatusWriter{}
}
Status should always return a mock status writer with Update patched.
package controllertest
import (
	"context"
	"fmt"
	"github.com/adammck/venv"
	. "github.com/aws/amazon-sagemaker-operator-for-k8s/controllers"
	. "github.com/onsi/ginkgo"
	"github.com/aws/amazon-sagemaker-operator-for-k8s/controllers/sdkutil/clientwrapper"
	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/service/sagemaker/sagemakeriface"
	"github.com/aws/aws-sdk-go/service/applicationautoscaling/applicationautoscalingiface"
	"k8s.io/apimachinery/pkg/runtime"
	"k8s.io/apimachinery/pkg/types"
	ctrl "sigs.k8s.io/controller-runtime"
	"sigs.k8s.io/controller-runtime/pkg/client"
)
func CreateMockAWSConfigLoader() AWSConfigLoader {
	return NewAWSConfigLoaderForEnv(venv.Mock())
}
func CreateMockSageMakerClientProvider(sageMakerClient sagemakeriface.SageMakerAPI) SageMakerClientProvider {
	return func(_ aws.Config) sagemakeriface.SageMakerAPI {
		return sageMakerClient
	}
}
func CreateMockSageMakerClientWrapperProvider(sageMakerClient sagemakeriface.SageMakerAPI) clientwrapper.SageMakerClientWrapperProvider {
	return func(_ aws.Config) clientwrapper.SageMakerClientWrapper {
		return clientwrapper.NewSageMakerClientWrapper(sageMakerClient)
	}
}
func CreateMockAutoscalingClientProvider(applicationAutoscalingClient applicationautoscalingiface.ApplicationAutoScalingAPI) ApplicationAutoscalingClientProvider {
	return func(_ aws.Config) applicationautoscalingiface.ApplicationAutoScalingAPI {
		return applicationAutoscalingClient
	}
}
func CreateMockAutoscalingClientWrapperProvider(applicationAutoscalingClient applicationautoscalingiface.ApplicationAutoScalingAPI) clientwrapper.ApplicationAutoscalingClientWrapperProvider {
	return func(_ aws.Config) clientwrapper.ApplicationAutoscalingClientWrapper {
		return clientwrapper.NewApplicationAutoscalingClientWrapper(applicationAutoscalingClient)
	}
}
func CreateReconciliationRequest(name string, namespace string) ctrl.Request {
	return ctrl.Request{
		NamespacedName: types.NamespacedName{
			Namespace: namespace,
			Name:      name,
		},
	}
}
type FailToGetK8sClient struct {
	client.Writer
	client.Reader
	client.StatusClient
}
func (m FailToGetK8sClient) Get(_ context.Context, _ client.ObjectKey, _ runtime.Object) error {
	return fmt.Errorf("unable to Get")
}
type FailToListK8sClient struct {
	client.Writer
	client.Reader
	client.StatusClient
}
func (m FailToListK8sClient) List(_ context.Context, _ runtime.Object, _ ...client.ListOption) error {
	return fmt.Errorf("unable to List")
}
type FailToUpdateK8sClient struct {
	client.Writer
	client.Reader
	client.StatusClient
	ActualClient client.Client
}
type FailToUpdateK8sStatusWriter struct {
	client.StatusWriter
}
func (m FailToUpdateK8sClient) Get(ctx context.Context, key client.ObjectKey, obj runtime.Object) error {
	return m.ActualClient.Get(ctx, key, obj)
}
func (m FailToUpdateK8sClient) Update(_ context.Context, _ runtime.Object, _ ...client.UpdateOption) error {
	return fmt.Errorf("unable to Update")
}