gomock

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package gomock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StateStorage

type StateStorage[C fsm.Context] struct {
	// contains filtered or unexported fields
}

StateStorage is a mock of StateStorage interface.

func NewStateStorage

func NewStateStorage[C fsm.Context](ctrl *gomock.Controller) *StateStorage[C]

NewStateStorage creates a new mock instance.

func (*StateStorage[C]) EXPECT

func (m *StateStorage[C]) EXPECT() *StateStorageMockRecorder[C]

EXPECT returns an object that allows the caller to indicate expected use.

func (*StateStorage[C]) GetState

func (m *StateStorage[C]) GetState(arg0 context.Context, arg1 C) (fsm.State, error)

GetState mocks base method.

func (*StateStorage[C]) PushState

func (m *StateStorage[C]) PushState(arg0 context.Context, arg1 C, arg2 fsm.State) error

PushState mocks base method.

type StateStorageMockRecorder

type StateStorageMockRecorder[C fsm.Context] struct {
	// contains filtered or unexported fields
}

StateStorageMockRecorder is the mock recorder for StateStorage.

func (*StateStorageMockRecorder[C]) GetState

func (mr *StateStorageMockRecorder[C]) GetState(arg0, arg1 any) *gomock.Call

GetState indicates an expected call of GetState.

func (*StateStorageMockRecorder[C]) PushState

func (mr *StateStorageMockRecorder[C]) PushState(arg0, arg1, arg2 any) *gomock.Call

PushState indicates an expected call of PushState.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL