mocks

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func NewStore

func NewStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *Store

NewStore creates a new instance of Store. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Store) EXPECT

func (_m *Store) EXPECT() *Store_Expecter

func (*Store) LastTurnID

func (_m *Store) LastTurnID(ctx context.Context, gatewayID string, sessionID string) string

LastTurnID provides a mock function with given fields: ctx, gatewayID, sessionID

func (*Store) Record

func (_m *Store) Record(ctx context.Context, in session.RecordInput)

Record provides a mock function with given fields: ctx, in

type Store_Expecter

type Store_Expecter struct {
	// contains filtered or unexported fields
}

func (*Store_Expecter) LastTurnID

func (_e *Store_Expecter) LastTurnID(ctx interface{}, gatewayID interface{}, sessionID interface{}) *Store_LastTurnID_Call

LastTurnID is a helper method to define mock.On call

  • ctx context.Context
  • gatewayID string
  • sessionID string

func (*Store_Expecter) Record

func (_e *Store_Expecter) Record(ctx interface{}, in interface{}) *Store_Record_Call

Record is a helper method to define mock.On call

  • ctx context.Context
  • in session.RecordInput

type Store_LastTurnID_Call

type Store_LastTurnID_Call struct {
	*mock.Call
}

Store_LastTurnID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LastTurnID'

func (*Store_LastTurnID_Call) Return

func (*Store_LastTurnID_Call) Run

func (_c *Store_LastTurnID_Call) Run(run func(ctx context.Context, gatewayID string, sessionID string)) *Store_LastTurnID_Call

func (*Store_LastTurnID_Call) RunAndReturn

type Store_Record_Call

type Store_Record_Call struct {
	*mock.Call
}

Store_Record_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Record'

func (*Store_Record_Call) Return

func (_c *Store_Record_Call) Return() *Store_Record_Call

func (*Store_Record_Call) Run

func (*Store_Record_Call) RunAndReturn

func (_c *Store_Record_Call) RunAndReturn(run func(context.Context, session.RecordInput)) *Store_Record_Call

Jump to

Keyboard shortcuts

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