Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommand ¶
MockCommand is an autogenerated mock type for the Command type
func NewMockCommand ¶
func NewMockCommand[C interface{}](t interface { mock.TestingT Cleanup(func()) }) *MockCommand[C]
NewMockCommand creates a new instance of MockCommand. 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.
type MockQuery ¶
MockQuery is an autogenerated mock type for the Query type
func NewMockQuery ¶
func NewMockQuery[Q interface{}, R interface{}](t interface { mock.TestingT Cleanup(func()) }) *MockQuery[Q, R]
NewMockQuery creates a new instance of MockQuery. 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.
Click to show internal directories.
Click to hide internal directories.