Documentation
¶
Index ¶
- type Store
- type Store_Expecter
- type Store_LastTurnID_Call
- func (_c *Store_LastTurnID_Call) Return(_a0 string) *Store_LastTurnID_Call
- func (_c *Store_LastTurnID_Call) Run(run func(ctx context.Context, gatewayID string, sessionID string)) *Store_LastTurnID_Call
- func (_c *Store_LastTurnID_Call) RunAndReturn(run func(context.Context, string, string) string) *Store_LastTurnID_Call
- type Store_Record_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
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 ¶
LastTurnID provides a mock function with given fields: ctx, gatewayID, sessionID
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 ¶
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 (_c *Store_LastTurnID_Call) Return(_a0 string) *Store_LastTurnID_Call
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 ¶
func (_c *Store_LastTurnID_Call) RunAndReturn(run func(context.Context, string, string) string) *Store_LastTurnID_Call
type Store_Record_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 (_c *Store_Record_Call) Run(run func(ctx context.Context, in session.RecordInput)) *Store_Record_Call
func (*Store_Record_Call) RunAndReturn ¶
func (_c *Store_Record_Call) RunAndReturn(run func(context.Context, session.RecordInput)) *Store_Record_Call