// Code generated by MockGen. DO NOT EDIT.
// Source: event.go
//
// Generated by this command:
//
//	mockgen -source=event.go -package=mock -destination=./mock/event.go
//

// Package mock is a generated GoMock package.
package mock

import (
	context "context"
	reflect "reflect"
	time "time"

	gomock "go.uber.org/mock/gomock"

	v2 "github.com/bucketeer-io/bucketeer/v2/pkg/eventcounter/storage/v2"
)

// MockEventStorage is a mock of EventStorage interface.
type MockEventStorage struct {
	ctrl     *gomock.Controller
	recorder *MockEventStorageMockRecorder
}

// MockEventStorageMockRecorder is the mock recorder for MockEventStorage.
type MockEventStorageMockRecorder struct {
	mock *MockEventStorage
}

// NewMockEventStorage creates a new mock instance.
func NewMockEventStorage(ctrl *gomock.Controller) *MockEventStorage {
	mock := &MockEventStorage{ctrl: ctrl}
	mock.recorder = &MockEventStorageMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockEventStorage) EXPECT() *MockEventStorageMockRecorder {
	return m.recorder
}

// QueryEvaluationCount mocks base method.
func (m *MockEventStorage) QueryEvaluationCount(ctx context.Context, environmentId string, startAt, endAt time.Time, featureID string, featureVersion int32) ([]*v2.EvaluationEventCount, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "QueryEvaluationCount", ctx, environmentId, startAt, endAt, featureID, featureVersion)
	ret0, _ := ret[0].([]*v2.EvaluationEventCount)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// QueryEvaluationCount indicates an expected call of QueryEvaluationCount.
func (mr *MockEventStorageMockRecorder) QueryEvaluationCount(ctx, environmentId, startAt, endAt, featureID, featureVersion any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QueryEvaluationCount", reflect.TypeOf((*MockEventStorage)(nil).QueryEvaluationCount), ctx, environmentId, startAt, endAt, featureID, featureVersion)
}

// QueryGoalCount mocks base method.
func (m *MockEventStorage) QueryGoalCount(ctx context.Context, environmentId string, startAt, endAt time.Time, goalID, featureID string, featureVersion int32) ([]*v2.GoalEventCount, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "QueryGoalCount", ctx, environmentId, startAt, endAt, goalID, featureID, featureVersion)
	ret0, _ := ret[0].([]*v2.GoalEventCount)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// QueryGoalCount indicates an expected call of QueryGoalCount.
func (mr *MockEventStorageMockRecorder) QueryGoalCount(ctx, environmentId, startAt, endAt, goalID, featureID, featureVersion any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QueryGoalCount", reflect.TypeOf((*MockEventStorage)(nil).QueryGoalCount), ctx, environmentId, startAt, endAt, goalID, featureID, featureVersion)
}

// QueryUserEvaluation mocks base method.
func (m *MockEventStorage) QueryUserEvaluation(ctx context.Context, environmentID, userID, featureID string, featureVersion int32, experimentStartAt, experimentEndAt time.Time) (*v2.UserEvaluation, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "QueryUserEvaluation", ctx, environmentID, userID, featureID, featureVersion, experimentStartAt, experimentEndAt)
	ret0, _ := ret[0].(*v2.UserEvaluation)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// QueryUserEvaluation indicates an expected call of QueryUserEvaluation.
func (mr *MockEventStorageMockRecorder) QueryUserEvaluation(ctx, environmentID, userID, featureID, featureVersion, experimentStartAt, experimentEndAt any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "QueryUserEvaluation", reflect.TypeOf((*MockEventStorage)(nil).QueryUserEvaluation), ctx, environmentID, userID, featureID, featureVersion, experimentStartAt, experimentEndAt)
}
