func (_m *Store) Get(key string) (*kv.KeyValue, error) {
	ret := _m.Called(key)
	var r0 *kv.KeyValue
	if rf, ok := ret.Get(0).(func(string) *kv.KeyValue); ok {
		r0 = rf(key)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*kv.KeyValue)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(key)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
Get provides a mock function with given fields: key
package mocks
import kv "github.com/getamis/sirius/kv"
import mock "github.com/stretchr/testify/mock"
type Store struct {
	mock.Mock
}
func (_m *Store) AtomicDelete(key string, expected *kv.KeyValue) (bool, error) {
	ret := _m.Called(key, expected)
	var r0 bool
	if rf, ok := ret.Get(0).(func(string, *kv.KeyValue) bool); ok {
		r0 = rf(key, expected)
	} else {
		r0 = ret.Get(0).(bool)
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string, *kv.KeyValue) error); ok {
		r1 = rf(key, expected)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *Store) AtomicPut(key string, value []byte, expected *kv.KeyValue, opts ...kv.PutOption) (*kv.KeyValue, error) {
	_va := make([]interface{}, len(opts))
	for _i := range opts {
		_va[_i] = opts[_i]
	}
	var _ca []interface{}
	_ca = append(_ca, key, value, expected)
	_ca = append(_ca, _va...)
	ret := _m.Called(_ca...)
	var r0 *kv.KeyValue
	if rf, ok := ret.Get(0).(func(string, []byte, *kv.KeyValue, ...kv.PutOption) *kv.KeyValue); ok {
		r0 = rf(key, value, expected, opts...)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*kv.KeyValue)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string, []byte, *kv.KeyValue, ...kv.PutOption) error); ok {
		r1 = rf(key, value, expected, opts...)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *Store) Close() {
	_m.Called()
}
func (_m *Store) Delete(key string) error {
	ret := _m.Called(key)
	var r0 error
	if rf, ok := ret.Get(0).(func(string) error); ok {
		r0 = rf(key)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *Store) DeleteTree(prefix string) error {
	ret := _m.Called(prefix)
	var r0 error
	if rf, ok := ret.Get(0).(func(string) error); ok {
		r0 = rf(prefix)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *Store) Exists(key string) (bool, error) {
	ret := _m.Called(key)
	var r0 bool
	if rf, ok := ret.Get(0).(func(string) bool); ok {
		r0 = rf(key)
	} else {
		r0 = ret.Get(0).(bool)
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(key)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}