func (m *MockAccount) UpdateAccount(arg0 context.Context, arg1 string, arg2 *v1.UpdateAccount) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateAccount", arg0, arg1, arg2)
	ret0, _ := ret[0].(error)
	return ret0
}
UpdateAccount mocks base method
package mock
import (
	context "context"
	gomock "github.com/golang/mock/gomock"
	v1 "optisam-backend/account-service/pkg/repository/v1"
	db "optisam-backend/account-service/pkg/repository/v1/postgres/db"
	reflect "reflect"
)
type MockAccount struct {
	ctrl     *gomock.Controller
	recorder *MockAccountMockRecorder
}
type MockAccountMockRecorder struct {
	mock *MockAccount
}
func NewMockAccount(ctrl *gomock.Controller) *MockAccount {
	mock := &MockAccount{ctrl: ctrl}
	mock.recorder = &MockAccountMockRecorder{mock}
	return mock
}
func (m *MockAccount) EXPECT() *MockAccountMockRecorder {
	return m.recorder
}
func (m *MockAccount) AccountInfo(arg0 context.Context, arg1 string) (*v1.AccountInfo, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AccountInfo", arg0, arg1)
	ret0, _ := ret[0].(*v1.AccountInfo)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAccountMockRecorder) AccountInfo(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AccountInfo", reflect.TypeOf((*MockAccount)(nil).AccountInfo), arg0, arg1)
}
func (m *MockAccount) AddGroupUsers(arg0 context.Context, arg1 int64, arg2 []string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AddGroupUsers", arg0, arg1, arg2)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockAccountMockRecorder) AddGroupUsers(arg0, arg1, arg2 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddGroupUsers", reflect.TypeOf((*MockAccount)(nil).AddGroupUsers), arg0, arg1, arg2)
}
func (m *MockAccount) ChangePassword(arg0 context.Context, arg1, arg2 string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ChangePassword", arg0, arg1, arg2)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockAccountMockRecorder) ChangePassword(arg0, arg1, arg2 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangePassword", reflect.TypeOf((*MockAccount)(nil).ChangePassword), arg0, arg1, arg2)
}
func (m *MockAccount) ChangeUserFirstLogin(arg0 context.Context, arg1 string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ChangeUserFirstLogin", arg0, arg1)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockAccountMockRecorder) ChangeUserFirstLogin(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangeUserFirstLogin", reflect.TypeOf((*MockAccount)(nil).ChangeUserFirstLogin), arg0, arg1)
}
func (m *MockAccount) ChildGroupsAll(arg0 context.Context, arg1 int64, arg2 *v1.GroupQueryParams) ([]*v1.Group, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ChildGroupsAll", arg0, arg1, arg2)
	ret0, _ := ret[0].([]*v1.Group)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAccountMockRecorder) ChildGroupsAll(arg0, arg1, arg2 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChildGroupsAll", reflect.TypeOf((*MockAccount)(nil).ChildGroupsAll), arg0, arg1, arg2)
}
func (m *MockAccount) ChildGroupsDirect(arg0 context.Context, arg1 int64, arg2 *v1.GroupQueryParams) ([]*v1.Group, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ChildGroupsDirect", arg0, arg1, arg2)
	ret0, _ := ret[0].([]*v1.Group)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAccountMockRecorder) ChildGroupsDirect(arg0, arg1, arg2 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChildGroupsDirect", reflect.TypeOf((*MockAccount)(nil).ChildGroupsDirect), arg0, arg1, arg2)
}
func (m *MockAccount) CreateAccount(arg0 context.Context, arg1 *v1.AccountInfo) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateAccount", arg0, arg1)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockAccountMockRecorder) CreateAccount(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAccount", reflect.TypeOf((*MockAccount)(nil).CreateAccount), arg0, arg1)
}
func (m *MockAccount) CreateGroup(arg0 context.Context, arg1 string, arg2 *v1.Group) (*v1.Group, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateGroup", arg0, arg1, arg2)
	ret0, _ := ret[0].(*v1.Group)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAccountMockRecorder) CreateGroup(arg0, arg1, arg2 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGroup", reflect.TypeOf((*MockAccount)(nil).CreateGroup), arg0, arg1, arg2)
}
func (m *MockAccount) CreateScope(arg0 context.Context, arg1, arg2, arg3 string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateScope", arg0, arg1, arg2, arg3)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockAccountMockRecorder) CreateScope(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateScope", reflect.TypeOf((*MockAccount)(nil).CreateScope), arg0, arg1, arg2, arg3)
}
func (m *MockAccount) DeleteGroup(arg0 context.Context, arg1 int64) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteGroup", arg0, arg1)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockAccountMockRecorder) DeleteGroup(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteGroup", reflect.TypeOf((*MockAccount)(nil).DeleteGroup), arg0, arg1)
}
func (m *MockAccount) DeleteGroupUsers(arg0 context.Context, arg1 int64, arg2 []string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteGroupUsers", arg0, arg1, arg2)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockAccountMockRecorder) DeleteGroupUsers(arg0, arg1, arg2 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteGroupUsers", reflect.TypeOf((*MockAccount)(nil).DeleteGroupUsers), arg0, arg1, arg2)
}
func (m *MockAccount) DeleteUser(arg0 context.Context, arg1 string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteUser", arg0, arg1)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockAccountMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteUser", reflect.TypeOf((*MockAccount)(nil).DeleteUser), arg0, arg1)
}
func (m *MockAccount) GetRootGroup(arg0 context.Context) (*v1.Group, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetRootGroup", arg0)
	ret0, _ := ret[0].(*v1.Group)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAccountMockRecorder) GetRootGroup(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRootGroup", reflect.TypeOf((*MockAccount)(nil).GetRootGroup), arg0)
}
func (m *MockAccount) GroupExistsByFQN(arg0 context.Context, arg1 string) (bool, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GroupExistsByFQN", arg0, arg1)
	ret0, _ := ret[0].(bool)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAccountMockRecorder) GroupExistsByFQN(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GroupExistsByFQN", reflect.TypeOf((*MockAccount)(nil).GroupExistsByFQN), arg0, arg1)
}
func (m *MockAccount) GroupInfo(arg0 context.Context, arg1 int64) (*v1.Group, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GroupInfo", arg0, arg1)
	ret0, _ := ret[0].(*v1.Group)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAccountMockRecorder) GroupInfo(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GroupInfo", reflect.TypeOf((*MockAccount)(nil).GroupInfo), arg0, arg1)
}
func (m *MockAccount) GroupUsers(arg0 context.Context, arg1 int64) ([]*v1.AccountInfo, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GroupUsers", arg0, arg1)
	ret0, _ := ret[0].([]*v1.AccountInfo)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAccountMockRecorder) GroupUsers(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GroupUsers", reflect.TypeOf((*MockAccount)(nil).GroupUsers), arg0, arg1)
}
func (m *MockAccount) InsertUserAudit(arg0 context.Context, arg1 db.InsertUserAuditParams) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "InsertUserAudit", arg0, arg1)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockAccountMockRecorder) InsertUserAudit(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InsertUserAudit", reflect.TypeOf((*MockAccount)(nil).InsertUserAudit), arg0, arg1)
}
func (m *MockAccount) IsGroupRoot(arg0 context.Context, arg1 int64) (bool, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "IsGroupRoot", arg0, arg1)
	ret0, _ := ret[0].(bool)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAccountMockRecorder) IsGroupRoot(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsGroupRoot", reflect.TypeOf((*MockAccount)(nil).IsGroupRoot), arg0, arg1)
}
func (m *MockAccount) ListScopes(arg0 context.Context, arg1 []string) ([]*v1.Scope, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ListScopes", arg0, arg1)
	ret0, _ := ret[0].([]*v1.Scope)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAccountMockRecorder) ListScopes(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListScopes", reflect.TypeOf((*MockAccount)(nil).ListScopes), arg0, arg1)
}
func (m *MockAccount) ScopeByCode(arg0 context.Context, arg1 string) (*v1.Scope, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ScopeByCode", arg0, arg1)
	ret0, _ := ret[0].(*v1.Scope)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAccountMockRecorder) ScopeByCode(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ScopeByCode", reflect.TypeOf((*MockAccount)(nil).ScopeByCode), arg0, arg1)
}