Documentation ¶
Overview ¶
Package mockjournal is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockJournal ¶
type MockJournal struct {
// contains filtered or unexported fields
}
MockJournal is a mock of Journal interface.
func NewMockJournal ¶
func NewMockJournal(ctrl *gomock.Controller) *MockJournal
NewMockJournal creates a new mock instance.
func (*MockJournal) EXPECT ¶
func (m *MockJournal) EXPECT() *MockJournalMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJournal) RecordEvent ¶
func (m *MockJournal) RecordEvent(arg0 journal.EventType, arg1 func() interface{})
RecordEvent mocks base method.
func (*MockJournal) RegisterEventType ¶
func (m *MockJournal) RegisterEventType(arg0, arg1 string) journal.EventType
RegisterEventType mocks base method.
type MockJournalMockRecorder ¶
type MockJournalMockRecorder struct {
// contains filtered or unexported fields
}
MockJournalMockRecorder is the mock recorder for MockJournal.
func (*MockJournalMockRecorder) Close ¶
func (mr *MockJournalMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockJournalMockRecorder) RecordEvent ¶
func (mr *MockJournalMockRecorder) RecordEvent(arg0, arg1 interface{}) *gomock.Call
RecordEvent indicates an expected call of RecordEvent.
func (*MockJournalMockRecorder) RegisterEventType ¶
func (mr *MockJournalMockRecorder) RegisterEventType(arg0, arg1 interface{}) *gomock.Call
RegisterEventType indicates an expected call of RegisterEventType.
Click to show internal directories.
Click to hide internal directories.