func (m *MockPubsub) Subscribe(topic string) (<-chan interface{}, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Subscribe", topic)
	ret0, _ := ret[0].(<-chan interface{})
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
Subscribe mocks base method
package plugin
import (
	gomock "github.com/golang/mock/gomock"
	reflect "reflect"
)
type MockPubsub struct {
	ctrl     *gomock.Controller
	recorder *MockPubsubMockRecorder
}
type MockPubsubMockRecorder struct {
	mock *MockPubsub
}
func NewMockPubsub(ctrl *gomock.Controller) *MockPubsub {
	mock := &MockPubsub{ctrl: ctrl}
	mock.recorder = &MockPubsubMockRecorder{mock}
	return mock
}
func (m *MockPubsub) EXPECT() *MockPubsubMockRecorder {
	return m.recorder
}
func (m *MockPubsub) Publish(topic string, msg interface{}) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Publish", topic, msg)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockPubsubMockRecorder) Publish(topic, msg interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Publish", reflect.TypeOf((*MockPubsub)(nil).Publish), topic, msg)
}