func (m *MockRule) CreateSegmentRule(arg0 context.Context, arg1 string, arg2 flaggio.NewSegmentRule) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateSegmentRule", arg0, arg1, arg2)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
CreateSegmentRule mocks base method
package repository_mock
import (
	context "context"
	gomock "github.com/golang/mock/gomock"
	flaggio "github.com/victorkt/flaggio/internal/flaggio"
	reflect "reflect"
)
type MockRule struct {
	ctrl     *gomock.Controller
	recorder *MockRuleMockRecorder
}
type MockRuleMockRecorder struct {
	mock *MockRule
}
func NewMockRule(ctrl *gomock.Controller) *MockRule {
	mock := &MockRule{ctrl: ctrl}
	mock.recorder = &MockRuleMockRecorder{mock}
	return mock
}
func (m *MockRule) EXPECT() *MockRuleMockRecorder {
	return m.recorder
}
func (m *MockRule) CreateFlagRule(arg0 context.Context, arg1 string, arg2 flaggio.NewFlagRule) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateFlagRule", arg0, arg1, arg2)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockRuleMockRecorder) CreateFlagRule(arg0, arg1, arg2 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateFlagRule", reflect.TypeOf((*MockRule)(nil).CreateFlagRule), arg0, arg1, arg2)
}