func (m *DataMapper) Update(arg0 context.Context, arg1 v4.MapperContext, arg2 ...interface{}) error {
	m.ctrl.T.Helper()
	varargs := []interface{}{arg0, arg1}
	for _, a := range arg2 {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "Update", varargs...)
	ret0, _ := ret[0].(error)
	return ret0
}
Update mocks base method
package mock
import (
	context "context"
	v4 "github.com/freerware/work/v4"
	gomock "github.com/golang/mock/gomock"
	reflect "reflect"
)
type DataMapper struct {
	ctrl     *gomock.Controller
	recorder *DataMapperMockRecorder
}
type DataMapperMockRecorder struct {
	mock *DataMapper
}
func NewDataMapper(ctrl *gomock.Controller) *DataMapper {
	mock := &DataMapper{ctrl: ctrl}
	mock.recorder = &DataMapperMockRecorder{mock}
	return mock
}
func (m *DataMapper) EXPECT() *DataMapperMockRecorder {
	return m.recorder
}
func (m *DataMapper) Insert(arg0 context.Context, arg1 v4.MapperContext, arg2 ...interface{}) error {
	m.ctrl.T.Helper()
	varargs := []interface{}{arg0, arg1}
	for _, a := range arg2 {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "Insert", varargs...)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *DataMapperMockRecorder) Insert(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	varargs := append([]interface{}{arg0, arg1}, arg2...)
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Insert", reflect.TypeOf((*DataMapper)(nil).Insert), varargs...)
}