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

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

import (
	reflect "reflect"

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

	feature "github.com/bucketeer-io/bucketeer/v2/proto/feature"
)

// MockFeaturesCache is a mock of FeaturesCache interface.
type MockFeaturesCache struct {
	ctrl     *gomock.Controller
	recorder *MockFeaturesCacheMockRecorder
}

// MockFeaturesCacheMockRecorder is the mock recorder for MockFeaturesCache.
type MockFeaturesCacheMockRecorder struct {
	mock *MockFeaturesCache
}

// NewMockFeaturesCache creates a new mock instance.
func NewMockFeaturesCache(ctrl *gomock.Controller) *MockFeaturesCache {
	mock := &MockFeaturesCache{ctrl: ctrl}
	mock.recorder = &MockFeaturesCacheMockRecorder{mock}
	return mock
}

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

// Get mocks base method.
func (m *MockFeaturesCache) Get(environmentId string) (*feature.Features, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Get", environmentId)
	ret0, _ := ret[0].(*feature.Features)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Get indicates an expected call of Get.
func (mr *MockFeaturesCacheMockRecorder) Get(environmentId any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockFeaturesCache)(nil).Get), environmentId)
}

// Put mocks base method.
func (m *MockFeaturesCache) Put(features *feature.Features, environmentId string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Put", features, environmentId)
	ret0, _ := ret[0].(error)
	return ret0
}

// Put indicates an expected call of Put.
func (mr *MockFeaturesCacheMockRecorder) Put(features, environmentId any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockFeaturesCache)(nil).Put), features, environmentId)
}
