func (_m *UserGroupsProvider) Exists(ctx context.Context, userID int64, groupID int64) (bool, error) {
    ret := _m.Called(ctx, userID, groupID)

    var r0 bool
    if rf, ok := ret.Get(0).(func(context.Context, int64, int64) bool); ok {