Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBroker ¶
type MockBroker struct {
// contains filtered or unexported fields
}
MockBroker is a mock of Broker interface.
func NewMockBroker ¶
func NewMockBroker(ctrl *gomock.Controller) *MockBroker
NewMockBroker creates a new mock instance.
func (*MockBroker) EXPECT ¶
func (m *MockBroker) EXPECT() *MockBrokerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBroker) Subscribe ¶
func (m *MockBroker) Subscribe(arg0 broker.Subscriber) int
Subscribe mocks base method.
func (*MockBroker) Unsubscribe ¶
func (m *MockBroker) Unsubscribe(arg0 int)
Unsubscribe mocks base method.
type MockBrokerMockRecorder ¶
type MockBrokerMockRecorder struct {
// contains filtered or unexported fields
}
MockBrokerMockRecorder is the mock recorder for MockBroker.
func (*MockBrokerMockRecorder) Subscribe ¶
func (mr *MockBrokerMockRecorder) Subscribe(arg0 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockBrokerMockRecorder) Unsubscribe ¶
func (mr *MockBrokerMockRecorder) Unsubscribe(arg0 interface{}) *gomock.Call
Unsubscribe indicates an expected call of Unsubscribe.
Click to show internal directories.
Click to hide internal directories.