func (_m *Store) AtomicPut(key string, options ...dynalock.WriteOption) (bool, *dynalock.KVPair, error) {
	_va := make([]interface{}, len(options))
	for _i := range options {
		_va[_i] = options[_i]
	}
	var _ca []interface{}
	_ca = append(_ca, key)
	_ca = append(_ca, _va...)
	ret := _m.Called(_ca...)
	var r0 bool
	if rf, ok := ret.Get(0).(func(string, ...dynalock.WriteOption) bool); ok {
		r0 = rf(key, options...)
	} else {
		r0 = ret.Get(0).(bool)
	}
	var r1 *dynalock.KVPair
	if rf, ok := ret.Get(1).(func(string, ...dynalock.WriteOption) *dynalock.KVPair); ok {
		r1 = rf(key, options...)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).(*dynalock.KVPair)
		}
	}
	var r2 error
	if rf, ok := ret.Get(2).(func(string, ...dynalock.WriteOption) error); ok {
		r2 = rf(key, options...)
	} else {
		r2 = ret.Error(2)
	}
	return r0, r1, r2
}
AtomicPut provides a mock function with given fields: key, options
package mocks
import dynalock "github.com/wolfeidau/dynalock"
import mock "github.com/stretchr/testify/mock"
type Store struct {
	mock.Mock
}
func (_m *Store) AtomicDelete(key string, previous *dynalock.KVPair) (bool, error) {
	ret := _m.Called(key, previous)
	var r0 bool
	if rf, ok := ret.Get(0).(func(string, *dynalock.KVPair) bool); ok {
		r0 = rf(key, previous)
	} else {
		r0 = ret.Get(0).(bool)
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string, *dynalock.KVPair) error); ok {
		r1 = rf(key, previous)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}