func (mr *MockLinkMockRecorder) Request(msg interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Request", reflect.TypeOf((*MockLink)(nil).Request), msg)
}
Request indicates an expected call of Request
package plugin
import (
	v1 "github.com/baetyl/baetyl-go/v2/spec/v1"
	gomock "github.com/golang/mock/gomock"
	reflect "reflect"
)
type MockLink struct {
	ctrl     *gomock.Controller
	recorder *MockLinkMockRecorder
}
type MockLinkMockRecorder struct {
	mock *MockLink
}
func NewMockLink(ctrl *gomock.Controller) *MockLink {
	mock := &MockLink{ctrl: ctrl}
	mock.recorder = &MockLinkMockRecorder{mock}
	return mock
}
func (m *MockLink) EXPECT() *MockLinkMockRecorder {
	return m.recorder
}
func (m *MockLink) Receive() (<-chan *v1.Message, <-chan error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Receive")
	ret0, _ := ret[0].(<-chan *v1.Message)
	ret1, _ := ret[1].(<-chan error)
	return ret0, ret1
}
func (mr *MockLinkMockRecorder) Receive() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Receive", reflect.TypeOf((*MockLink)(nil).Receive))
}
func (m *MockLink) Request(msg *v1.Message) (*v1.Message, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Request", msg)
	ret0, _ := ret[0].(*v1.Message)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}