func (tc *MockContainer) WithSpecProviderRef(name string) *MockContainer {
	tc.Container.Spec.ProviderReference = &xpv1.Reference{Name: name}
	return tc
}
WithSpecProviderRef sets spec account reference value
package test
import (
	"time"
	xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
	"github.com/crossplane/crossplane-runtime/pkg/meta"
	storagev1alpha3 "github.com/crossplane/provider-azure/apis/storage/v1alpha3"
	"github.com/Azure/azure-storage-blob-go/azblob"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"k8s.io/apimachinery/pkg/types"
)
type MockContainer struct {
	*storagev1alpha3.Container
}
func NewMockContainer(name string) *MockContainer {
	c := &MockContainer{
		Container: &storagev1alpha3.Container{
			ObjectMeta: metav1.ObjectMeta{Name: name},
		},
	}
	meta.SetExternalName(c, name)
	return c
}
func (tc *MockContainer) WithResourceVersion(v string) *MockContainer {
	tc.ObjectMeta.ResourceVersion = v
	return tc
}
func (tc *MockContainer) WithTypeMeta(tm metav1.TypeMeta) *MockContainer {
	tc.TypeMeta = tm
	return tc
}
func (tc *MockContainer) WithObjectMeta(om metav1.ObjectMeta) *MockContainer {
	tc.ObjectMeta = om
	return tc
}
func (tc *MockContainer) WithUID(uid string) *MockContainer {
	tc.ObjectMeta.UID = types.UID(uid)
	return tc
}
func (tc *MockContainer) WithDeleteTimestamp(t time.Time) *MockContainer {
	tc.Container.ObjectMeta.DeletionTimestamp = &metav1.Time{Time: t}
	return tc
}
func (tc *MockContainer) WithFinalizer(f string) *MockContainer {
	tc.Container.ObjectMeta.Finalizers = append(tc.Container.ObjectMeta.Finalizers, f)
	return tc
}
func (tc *MockContainer) WithFinalizers(f []string) *MockContainer {
	tc.Container.ObjectMeta.Finalizers = f
	return tc
}