func (a *MockAzureClient) List(l vfs.Location) ([]string, error) {
	if a.ExpectedResult != nil {
		return a.ExpectedResult.([]string), nil
	}
	return nil, a.ExpectedError
}
List returns the value of ExpectedResult if it exists, otherwise it returns ExpectedError.
package azure
import (
	"io"
	"net/http"
	"github.com/Azure/azure-storage-blob-go/azblob"
	"github.com/c2fo/vfs/v6"
)
type MockAzureClient struct {
	PropertiesError  error
	PropertiesResult *BlobProperties
	ExpectedError    error
	ExpectedResult   interface{}
}
func (a *MockAzureClient) Properties(locationURI, filePath string) (*BlobProperties, error) {
	if a.PropertiesResult == nil {
		return nil, a.PropertiesError
	}
	return a.PropertiesResult, a.PropertiesError
}
func (a *MockAzureClient) SetMetadata(file vfs.File, metadata map[string]string) error {
	return a.ExpectedError
}
func (a *MockAzureClient) Upload(file vfs.File, content io.ReadSeeker) error {
	return a.ExpectedError
}
func (a *MockAzureClient) Download(file vfs.File) (io.ReadCloser, error) {
	if a.ExpectedResult != nil {
		return a.ExpectedResult.(io.ReadCloser), nil
	}
	return nil, a.ExpectedError
}
func (a *MockAzureClient) Copy(srcFile, tgtFile vfs.File) error {
	return a.ExpectedError
}