func (mr *MockPublishSubsciberMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Register", reflect.TypeOf((*MockPublishSubsciber)(nil).Register), arg0, arg1)
}
Register indicates an expected call of Register.
package mocks
import (
	context "context"
	reflect "reflect"
	gomock "github.com/golang/mock/gomock"
	pubsub "github.com/spacemeshos/go-spacemesh/p2p/pubsub"
)
type MockPublisher struct {
	ctrl     *gomock.Controller
	recorder *MockPublisherMockRecorder
}
type MockPublisherMockRecorder struct {
	mock *MockPublisher
}
func NewMockPublisher(ctrl *gomock.Controller) *MockPublisher {
	mock := &MockPublisher{ctrl: ctrl}
	mock.recorder = &MockPublisherMockRecorder{mock}
	return mock
}
func (m *MockPublisher) EXPECT() *MockPublisherMockRecorder {
	return m.recorder
}
func (m *MockPublisher) Publish(arg0 context.Context, arg1 string, arg2 []byte) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Publish", arg0, arg1, arg2)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockPublisherMockRecorder) Publish(arg0, arg1, arg2 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Publish", reflect.TypeOf((*MockPublisher)(nil).Publish), arg0, arg1, arg2)
}
type MockSubscriber struct {
	ctrl     *gomock.Controller
	recorder *MockSubscriberMockRecorder
}
type MockSubscriberMockRecorder struct {
	mock *MockSubscriber
}
func NewMockSubscriber(ctrl *gomock.Controller) *MockSubscriber {
	mock := &MockSubscriber{ctrl: ctrl}
	mock.recorder = &MockSubscriberMockRecorder{mock}
	return mock
}
func (m *MockSubscriber) EXPECT() *MockSubscriberMockRecorder {
	return m.recorder
}
func (m *MockSubscriber) Register(arg0 string, arg1 pubsub.GossipHandler) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "Register", arg0, arg1)
}
func (mr *MockSubscriberMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Register", reflect.TypeOf((*MockSubscriber)(nil).Register), arg0, arg1)
}
type MockPublishSubsciber struct {
	ctrl     *gomock.Controller
	recorder *MockPublishSubsciberMockRecorder
}
type MockPublishSubsciberMockRecorder struct {
	mock *MockPublishSubsciber
}
func NewMockPublishSubsciber(ctrl *gomock.Controller) *MockPublishSubsciber {
	mock := &MockPublishSubsciber{ctrl: ctrl}
	mock.recorder = &MockPublishSubsciberMockRecorder{mock}
	return mock
}
func (m *MockPublishSubsciber) EXPECT() *MockPublishSubsciberMockRecorder {
	return m.recorder
}
func (m *MockPublishSubsciber) Publish(arg0 context.Context, arg1 string, arg2 []byte) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Publish", arg0, arg1, arg2)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockPublishSubsciberMockRecorder) Publish(arg0, arg1, arg2 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Publish", reflect.TypeOf((*MockPublishSubsciber)(nil).Publish), arg0, arg1, arg2)
}
func (m *MockPublishSubsciber) Register(arg0 string, arg1 pubsub.GossipHandler) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "Register", arg0, arg1)
}