func (_m *CommonStore) SetSync(key []byte, value []byte) error {
	ret := _m.Called(key, value)
	var r0 error
	if rf, ok := ret.Get(0).(func([]byte, []byte) error); ok {
		r0 = rf(key, value)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
SetSync provides a mock function with given fields: key, value
package mocks
import mock "github.com/stretchr/testify/mock"
type CommonStore struct {
	mock.Mock
}
func (_m *CommonStore) GetKey(key []byte) ([]byte, error) {
	ret := _m.Called(key)
	var r0 []byte
	if rf, ok := ret.Get(0).(func([]byte) []byte); ok {
		r0 = rf(key)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]byte)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func([]byte) error); ok {
		r1 = rf(key)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *CommonStore) List(prefix []byte) ([][]byte, error) {
	ret := _m.Called(prefix)
	var r0 [][]byte
	if rf, ok := ret.Get(0).(func([]byte) [][]byte); ok {
		r0 = rf(prefix)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([][]byte)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func([]byte) error); ok {
		r1 = rf(prefix)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *CommonStore) PrefixCount(prefix []byte) int64 {
	ret := _m.Called(prefix)
	var r0 int64
	if rf, ok := ret.Get(0).(func([]byte) int64); ok {
		r0 = rf(prefix)
	} else {
		r0 = ret.Get(0).(int64)
	}
	return r0
}
func (_m *CommonStore) Set(key []byte, value []byte) error {
	ret := _m.Called(key, value)
	var r0 error
	if rf, ok := ret.Get(0).(func([]byte, []byte) error); ok {
		r0 = rf(key, value)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}