Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
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 Message ¶
type Message struct {
// contains filtered or unexported fields
}
Message simple object for testing reasons
func NewMessage ¶
NewMessage object constructor
type MockPublisher ¶
type MockPublisher struct {
// contains filtered or unexported fields
}
MockPublisher is a mock of Publisher interface
func NewMockPublisher ¶
func NewMockPublisher(ctrl *gomock.Controller) *MockPublisher
NewMockPublisher creates a new mock instance
func (*MockPublisher) EXPECT ¶
func (m *MockPublisher) EXPECT() *MockPublisherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockPublisherMockRecorder ¶
type MockPublisherMockRecorder struct {
// contains filtered or unexported fields
}
MockPublisherMockRecorder is the mock recorder for MockPublisher
func (*MockPublisherMockRecorder) Publish ¶
func (mr *MockPublisherMockRecorder) Publish(ctx interface{}, messages ...interface{}) *gomock.Call
Publish indicates an expected call of Publish
type MockReceiver ¶
type MockReceiver struct {
// contains filtered or unexported fields
}
MockReceiver is a mock of Receiver interface
func NewMockReceiver ¶
func NewMockReceiver(ctrl *gomock.Controller) *MockReceiver
NewMockReceiver creates a new mock instance
func (*MockReceiver) EXPECT ¶
func (m *MockReceiver) EXPECT() *MockReceiverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReceiver) Receive ¶
func (m *MockReceiver) Receive(msg notificationcenter.Message) error
Receive mocks base method
type MockReceiverMockRecorder ¶
type MockReceiverMockRecorder struct {
// contains filtered or unexported fields
}
MockReceiverMockRecorder is the mock recorder for MockReceiver
func (*MockReceiverMockRecorder) Receive ¶
func (mr *MockReceiverMockRecorder) Receive(msg interface{}) *gomock.Call
Receive indicates an expected call of Receive
type MockSubscriber ¶
type MockSubscriber struct {
// contains filtered or unexported fields
}
MockSubscriber is a mock of Subscriber interface
func NewMockSubscriber ¶
func NewMockSubscriber(ctrl *gomock.Controller) *MockSubscriber
NewMockSubscriber creates a new mock instance
func (*MockSubscriber) Close ¶ added in v1.4.0
func (m *MockSubscriber) Close() error
Close mocks base method
func (*MockSubscriber) EXPECT ¶
func (m *MockSubscriber) EXPECT() *MockSubscriberMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSubscriber) Listen ¶
func (m *MockSubscriber) Listen(ctx context.Context) error
Listen mocks base method
func (*MockSubscriber) Subscribe ¶
func (m *MockSubscriber) Subscribe(ctx context.Context, receiver notificationcenter.Receiver) error
Subscribe mocks base method
type MockSubscriberMockRecorder ¶
type MockSubscriberMockRecorder struct {
// contains filtered or unexported fields
}
MockSubscriberMockRecorder is the mock recorder for MockSubscriber
func (*MockSubscriberMockRecorder) Close ¶ added in v1.4.0
func (mr *MockSubscriberMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockSubscriberMockRecorder) Listen ¶
func (mr *MockSubscriberMockRecorder) Listen(ctx interface{}) *gomock.Call
Listen indicates an expected call of Listen
func (*MockSubscriberMockRecorder) Subscribe ¶
func (mr *MockSubscriberMockRecorder) Subscribe(ctx, receiver interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe