Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockPersistence
- func (m *MockPersistence) CreateBatCaveSetting(settings persistence.BatCaveSetting) int64
- func (m *MockPersistence) EXPECT() *MockPersistenceMockRecorder
- func (m *MockPersistence) GetBatCaveSetting(deviceID string) (bool, persistence.BatCaveSetting)
- func (m *MockPersistence) UpdateBatCaveSetting(settings persistence.BatCaveSetting) int64
- type MockPersistenceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPersistence ¶
type MockPersistence struct {
// contains filtered or unexported fields
}
MockPersistence is a mock of Persistence interface.
func NewMockPersistence ¶
func NewMockPersistence(ctrl *gomock.Controller) *MockPersistence
NewMockPersistence creates a new mock instance.
func (*MockPersistence) CreateBatCaveSetting ¶
func (m *MockPersistence) CreateBatCaveSetting(settings persistence.BatCaveSetting) int64
CreateBatCaveSetting mocks base method.
func (*MockPersistence) EXPECT ¶
func (m *MockPersistence) EXPECT() *MockPersistenceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPersistence) GetBatCaveSetting ¶
func (m *MockPersistence) GetBatCaveSetting(deviceID string) (bool, persistence.BatCaveSetting)
GetBatCaveSetting mocks base method.
func (*MockPersistence) UpdateBatCaveSetting ¶
func (m *MockPersistence) UpdateBatCaveSetting(settings persistence.BatCaveSetting) int64
UpdateBatCaveSetting mocks base method.
type MockPersistenceMockRecorder ¶
type MockPersistenceMockRecorder struct {
// contains filtered or unexported fields
}
MockPersistenceMockRecorder is the mock recorder for MockPersistence.
func (*MockPersistenceMockRecorder) CreateBatCaveSetting ¶
func (mr *MockPersistenceMockRecorder) CreateBatCaveSetting(settings interface{}) *gomock.Call
CreateBatCaveSetting indicates an expected call of CreateBatCaveSetting.
func (*MockPersistenceMockRecorder) GetBatCaveSetting ¶
func (mr *MockPersistenceMockRecorder) GetBatCaveSetting(deviceID interface{}) *gomock.Call
GetBatCaveSetting indicates an expected call of GetBatCaveSetting.
func (*MockPersistenceMockRecorder) UpdateBatCaveSetting ¶
func (mr *MockPersistenceMockRecorder) UpdateBatCaveSetting(settings interface{}) *gomock.Call
UpdateBatCaveSetting indicates an expected call of UpdateBatCaveSetting.
Click to show internal directories.
Click to hide internal directories.