Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface.
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance.
func (*MockStorage) Add ¶
func (m *MockStorage) Add(arg0, arg1 int) (int, error)
Add mocks base method.
func (*MockStorage) AddCustom ¶
func (m *MockStorage) AddCustom(arg0 *storage.Custom) (int, error)
AddCustom mocks base method.
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) Add ¶
func (mr *MockStorageMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockStorageMockRecorder) AddCustom ¶
func (mr *MockStorageMockRecorder) AddCustom(arg0 interface{}) *gomock.Call
AddCustom indicates an expected call of AddCustom.
Click to show internal directories.
Click to hide internal directories.