func (s *Store) Flush() error {
	return s.ErrFlush
}
Flush returns mocked results.
package mock
import (
	spi "github.com/hyperledger/aries-framework-go/spi/storage"
)
type Provider struct {
	OpenStoreReturn spi.Store
	ErrOpenStore    error
	ErrSetStoreConfig error
	GetStoreConfigReturn spi.StoreConfiguration
	ErrGetStoreConfig    error
	GetOpenStoresReturn []spi.Store
	ErrClose error
}
func (p *Provider) OpenStore(string) (spi.Store, error) {
	return p.OpenStoreReturn, p.ErrOpenStore
}
func (p *Provider) SetStoreConfig(string, spi.StoreConfiguration) error {
	return p.ErrSetStoreConfig
}
func (p *Provider) GetStoreConfig(string) (spi.StoreConfiguration, error) {
	return p.GetStoreConfigReturn, p.ErrGetStoreConfig
}
func (p *Provider) GetOpenStores() []spi.Store {
	return p.GetOpenStoresReturn
}
func (p *Provider) Close() error {
	return p.ErrClose
}
type Store struct {
	ErrPut error
	GetReturn []byte
	ErrGet    error
	GetTagsReturn []spi.Tag
	ErrGetTags    error
	GetBulkReturn [][]byte
	ErrGetBulk    error
	QueryReturn spi.Iterator
	ErrQuery    error
	ErrDelete error
	ErrBatch error
	ErrFlush error
	ErrClose error
}
func (s *Store) Put(string, []byte, ...spi.Tag) error {
	return s.ErrPut
}
func (s *Store) Get(string) ([]byte, error) {
	return s.GetReturn, s.ErrGet
}
func (s *Store) GetTags(string) ([]spi.Tag, error) {
	return s.GetTagsReturn, s.ErrGetTags
}
func (s *Store) GetBulk(...string) ([][]byte, error) {
	return s.GetBulkReturn, s.ErrGetBulk
}
func (s *Store) Query(string, ...spi.QueryOption) (spi.Iterator, error) {
	return s.QueryReturn, s.ErrQuery
}
func (s *Store) Delete(string) error {
	return s.ErrDelete
}
func (s *Store) Batch([]spi.Operation) error {
	return s.ErrBatch
}