func (m *MockAccountOperations) IsAccountNameAvailable(ctx context.Context, name string) error {
	return m.MockIsAccountNameAvailable(ctx, name)
}
IsAccountNameAvailable mock check
package fake
import (
	"context"
	"github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-06-01/storage"
	azurestorage "github.com/crossplane/provider-azure/pkg/clients/storage"
)
type MockAccountOperations struct {
	MockCreate                 func(context.Context, storage.AccountCreateParameters) (*storage.Account, error)
	MockUpdate                 func(context.Context, storage.AccountUpdateParameters) (*storage.Account, error)
	MockGet                    func(ctx context.Context) (*storage.Account, error)
	MockDelete                 func(ctx context.Context) error
	MockIsAccountNameAvailable func(context.Context, string) error
	MockListKeys               func(context.Context) ([]storage.AccountKey, error)
}
var _ azurestorage.AccountOperations = &MockAccountOperations{}
func NewMockAccountOperations() *MockAccountOperations {
	return &MockAccountOperations{
		MockCreate: func(i context.Context, parameters storage.AccountCreateParameters) (account *storage.Account, e error) {
			return nil, nil
		},
		MockUpdate: func(i context.Context, parameters storage.AccountUpdateParameters) (account *storage.Account, e error) {
			return nil, nil
		},
		MockGet: func(ctx context.Context) (account *storage.Account, e error) {
			return nil, nil
		},
		MockDelete: func(ctx context.Context) error {
			return nil
		},
		MockIsAccountNameAvailable: func(i context.Context, s string) error {
			return nil
		},
		MockListKeys: func(i context.Context) ([]storage.AccountKey, error) {
			return nil, nil
		},
	}
}
func (m *MockAccountOperations) Create(ctx context.Context, params storage.AccountCreateParameters) (*storage.Account, error) {
	return m.MockCreate(ctx, params)
}
func (m *MockAccountOperations) Update(ctx context.Context, params storage.AccountUpdateParameters) (*storage.Account, error) {
	return m.MockUpdate(ctx, params)
}
func (m *MockAccountOperations) Get(ctx context.Context) (*storage.Account, error) {
	return m.MockGet(ctx)
}
func (m *MockAccountOperations) Delete(ctx context.Context) error {
	return m.MockDelete(ctx)
}