Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockFsmService
- type MockFsmServiceMockRecorder
- type MockJourneyStore
- func (m *MockJourneyStore[T]) Create(ctx context.Context) (model.Journey[T], *errors.FsmError)
- func (m *MockJourneyStore[T]) Delete(ctx context.Context, jID string) *errors.FsmError
- func (m *MockJourneyStore[T]) EXPECT() *MockJourneyStoreMockRecorder[T]
- func (m *MockJourneyStore[T]) Get(ctx context.Context, jID string) (model.Journey[T], *errors.FsmError)
- func (m *MockJourneyStore[T]) Save(ctx context.Context, journey model.Journey[T]) *errors.FsmError
- type MockJourneyStoreMockRecorder
- func (mr *MockJourneyStoreMockRecorder[T]) Create(ctx any) *gomock.Call
- func (mr *MockJourneyStoreMockRecorder[T]) Delete(ctx, jID any) *gomock.Call
- func (mr *MockJourneyStoreMockRecorder[T]) Get(ctx, jID any) *gomock.Call
- func (mr *MockJourneyStoreMockRecorder[T]) Save(ctx, journey any) *gomock.Call
- type MockKeyValueStore
- func (m *MockKeyValueStore[T]) Del(ctx context.Context, key string) error
- func (m *MockKeyValueStore[T]) EXPECT() *MockKeyValueStoreMockRecorder[T]
- func (m *MockKeyValueStore[T]) Get(ctx context.Context, key string) (*model.Journey[T], error)
- func (m *MockKeyValueStore[T]) Set(ctx context.Context, key string, Value model.Journey[T]) error
- type MockKeyValueStoreMockRecorder
- type MockStateHandler
- func (m *MockStateHandler) EXPECT() *MockStateHandlerMockRecorder
- func (m *MockStateHandler) Revisit(ctx context.Context, jID string, journeyData any) (any, any, *errors.FsmError)
- func (m *MockStateHandler) Visit(ctx context.Context, jID string, journeyData, data any) (any, any, string, *errors.FsmError)
- type MockStateHandlerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFsmService ¶
type MockFsmService[T any] struct { // contains filtered or unexported fields }
MockFsmService is a mock of FsmService interface.
func NewMockFsmService ¶
func NewMockFsmService[T any](ctrl *gomock.Controller) *MockFsmService[T]
NewMockFsmService creates a new mock instance.
func (*MockFsmService[T]) EXPECT ¶
func (m *MockFsmService[T]) EXPECT() *MockFsmServiceMockRecorder[T]
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFsmService[T]) Execute ¶
func (m *MockFsmService[T]) Execute(ctx context.Context, request model.FsmRequest) (model.FsmResponse, *errors.FsmError)
Execute mocks base method.
type MockFsmServiceMockRecorder ¶
type MockFsmServiceMockRecorder[T any] struct { // contains filtered or unexported fields }
MockFsmServiceMockRecorder is the mock recorder for MockFsmService.
type MockJourneyStore ¶
type MockJourneyStore[T any] struct { // contains filtered or unexported fields }
MockJourneyStore is a mock of JourneyStore interface.
func NewMockJourneyStore ¶
func NewMockJourneyStore[T any](ctrl *gomock.Controller) *MockJourneyStore[T]
NewMockJourneyStore creates a new mock instance.
func (*MockJourneyStore[T]) EXPECT ¶
func (m *MockJourneyStore[T]) EXPECT() *MockJourneyStoreMockRecorder[T]
EXPECT returns an object that allows the caller to indicate expected use.
type MockJourneyStoreMockRecorder ¶
type MockJourneyStoreMockRecorder[T any] struct { // contains filtered or unexported fields }
MockJourneyStoreMockRecorder is the mock recorder for MockJourneyStore.
func (*MockJourneyStoreMockRecorder[T]) Create ¶
func (mr *MockJourneyStoreMockRecorder[T]) Create(ctx any) *gomock.Call
Create indicates an expected call of Create.
func (*MockJourneyStoreMockRecorder[T]) Delete ¶
func (mr *MockJourneyStoreMockRecorder[T]) Delete(ctx, jID any) *gomock.Call
Delete indicates an expected call of Delete.
type MockKeyValueStore ¶
type MockKeyValueStore[T any] struct { // contains filtered or unexported fields }
MockKeyValueStore is a mock of KeyValueStore interface.
func NewMockKeyValueStore ¶
func NewMockKeyValueStore[T any](ctrl *gomock.Controller) *MockKeyValueStore[T]
NewMockKeyValueStore creates a new mock instance.
func (*MockKeyValueStore[T]) Del ¶
func (m *MockKeyValueStore[T]) Del(ctx context.Context, key string) error
Del mocks base method.
func (*MockKeyValueStore[T]) EXPECT ¶
func (m *MockKeyValueStore[T]) EXPECT() *MockKeyValueStoreMockRecorder[T]
EXPECT returns an object that allows the caller to indicate expected use.
type MockKeyValueStoreMockRecorder ¶
type MockKeyValueStoreMockRecorder[T any] struct { // contains filtered or unexported fields }
MockKeyValueStoreMockRecorder is the mock recorder for MockKeyValueStore.
func (*MockKeyValueStoreMockRecorder[T]) Del ¶
func (mr *MockKeyValueStoreMockRecorder[T]) Del(ctx, key any) *gomock.Call
Del indicates an expected call of Del.
type MockStateHandler ¶
type MockStateHandler struct {
// contains filtered or unexported fields
}
MockStateHandler is a mock of StateHandler interface.
func NewMockStateHandler ¶
func NewMockStateHandler(ctrl *gomock.Controller) *MockStateHandler
NewMockStateHandler creates a new mock instance.
func (*MockStateHandler) EXPECT ¶
func (m *MockStateHandler) EXPECT() *MockStateHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStateHandlerMockRecorder ¶
type MockStateHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockStateHandlerMockRecorder is the mock recorder for MockStateHandler.