mocks/ObjectStore.go
func (_m *ObjectStore) GetByField(name string, val string, store string, dst interface{}) error {
	ret := _m.Called(name, val, store, dst)

	var r0 error
	if rf, ok := ret.Get(0).(func(string, string, string, interface{}) error); ok {
		r0 = rf(name, val, store, dst)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}
func (_m *ObjectStore) GetByField(name string, val string, store string, dst interface{}) error {
	ret := _m.Called(name, val, store, dst)

	var r0 error
	if rf, ok := ret.Get(0).(func(string, string, string, interface{}) error); ok {
		r0 = rf(name, val, store, dst)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}
// GetByField provides a mock function with given fields: name, val, store, dst