func (ta *MockAccount) WithFinalizers(f []string) *MockAccount {
	ta.Account.ObjectMeta.Finalizers = f
	return ta
}
WithFinalizers sets finalizers list
package test
import (
	"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-06-01/storage"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"k8s.io/apimachinery/pkg/types"
	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"
)
type MockAccount struct {
	*storagev1alpha3.Account
}
func NewMockAccount(name string) *MockAccount {
	a := &MockAccount{Account: &storagev1alpha3.Account{
		ObjectMeta: metav1.ObjectMeta{Name: name},
	}}
	meta.SetExternalName(a, name)
	return a
}
func (ta *MockAccount) WithTypeMeta(tm metav1.TypeMeta) *MockAccount {
	ta.TypeMeta = tm
	return ta
}
func (ta *MockAccount) WithObjectMeta(om metav1.ObjectMeta) *MockAccount {
	ta.ObjectMeta = om
	return ta
}
func (ta *MockAccount) WithUID(uid string) *MockAccount {
	ta.ObjectMeta.UID = types.UID(uid)
	return ta
}
func (ta *MockAccount) WithDeleteTimestamp(t metav1.Time) *MockAccount {
	ta.Account.ObjectMeta.DeletionTimestamp = &t
	return ta
}
func (ta *MockAccount) WithFinalizer(f string) *MockAccount {
	ta.Account.ObjectMeta.Finalizers = append(ta.Account.ObjectMeta.Finalizers, f)
	return ta
}