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)
}
Publish indicates an expected call of Publish.
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
}