func NewMockEDVClient(edvServerURL string, readDocumentFirstReturnValue,
	readDocumentSubsequentReturnValue *models.EncryptedDocument, queryVaultReturnValue []string,
	createVaultError error) *Client {
	return &Client{edvServerURL: edvServerURL, ReadDocumentSubsequentReturnValue: readDocumentSubsequentReturnValue,
		ReadDocumentFirstReturnValue: readDocumentFirstReturnValue,
		QueryVaultReturnValue:        queryVaultReturnValue,
		CreateVaultError:             createVaultError}
}
NewMockEDVClient is the mock version of edv client
package edv
import (
	"encoding/json"
	"github.com/trustbloc/edge-core/pkg/zcapld"
	"github.com/trustbloc/edv/pkg/client"
	"github.com/trustbloc/edv/pkg/restapi/models"
)
type Client struct {
	edvServerURL                      string
	ReadDocumentError                 error
	ReadDocumentFirstReturnValue      *models.EncryptedDocument
	ReadDocumentSubsequentReturnValue *models.EncryptedDocument
	readDocumentCalledAtLeastOnce     bool
	QueryVaultReturnValue             []string
	CreateVaultError                  error
}