// Code generated by MockGen. DO NOT EDIT. // Source: ./peer_update_handler.go // // Generated by this command: // // mockgen -source=./peer_update_handler.go -destination=./sync_sender_mock.go -package=grpc // // Package grpc is a generated GoMock package. package grpc import ( context "context" reflect "reflect" proto "github.com/netbirdio/netbird/shared/management/proto" gomock "go.uber.org/mock/gomock" ) // MocksyncSender is a mock of syncSender interface. type MocksyncSender struct { ctrl *gomock.Controller recorder *MocksyncSenderMockRecorder isgomock struct{} } // MocksyncSenderMockRecorder is the mock recorder for MocksyncSender. type MocksyncSenderMockRecorder struct { mock *MocksyncSender } // NewMocksyncSender creates a new mock instance. func NewMocksyncSender(ctrl *gomock.Controller) *MocksyncSender { mock := &MocksyncSender{ctrl: ctrl} mock.recorder = &MocksyncSenderMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MocksyncSender) EXPECT() *MocksyncSenderMockRecorder { return m.recorder } // Context mocks base method. func (m *MocksyncSender) Context() context.Context { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Context") ret0, _ := ret[0].(context.Context) return ret0 } // Context indicates an expected call of Context. func (mr *MocksyncSenderMockRecorder) Context() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MocksyncSender)(nil).Context)) } // Send mocks base method. func (m *MocksyncSender) Send(arg0 *proto.EncryptedMessage) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Send", arg0) ret0, _ := ret[0].(error) return ret0 } // Send indicates an expected call of Send. func (mr *MocksyncSenderMockRecorder) Send(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MocksyncSender)(nil).Send), arg0) }