// Code generated by mockery 2.9.0. DO NOT EDIT.

package mocks

import (
	context "context"

	mock "github.com/stretchr/testify/mock"
)

// Database is an autogenerated mock type for the Database type
type Database struct {
	mock.Mock
}

// CacheLiveUsers provides a mock function with given fields: ctx, channelIDs
func (_m *Database) CacheLiveUsers(ctx context.Context, channelIDs map[string]bool) error {
	ret := _m.Called(ctx, channelIDs)

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, map[string]bool) error); ok {
		r0 = rf(ctx, channelIDs)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

// GetCachedLiveUsers provides a mock function with given fields: ctx
func (_m *Database) GetCachedLiveUsers(ctx context.Context) (map[string]bool, error) {
	ret := _m.Called(ctx)

	var r0 map[string]bool
	if rf, ok := ret.Get(0).(func(context.Context) map[string]bool); ok {
		r0 = rf(ctx)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(map[string]bool)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context) error); ok {
		r1 = rf(ctx)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
