github.com/hyperledger/aries-framework-go@v0.3.2/pkg/internal/gomocks/didcomm/common/service/mocks.gen.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/hyperledger/aries-framework-go/pkg/didcomm/common/service (interfaces: DIDComm,Event,Messenger,MessengerHandler)
     3  
     4  // Package mocks is a generated GoMock package.
     5  package mocks
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	gomock "github.com/golang/mock/gomock"
    11  	service "github.com/hyperledger/aries-framework-go/pkg/didcomm/common/service"
    12  )
    13  
    14  // MockDIDComm is a mock of DIDComm interface.
    15  type MockDIDComm struct {
    16  	ctrl     *gomock.Controller
    17  	recorder *MockDIDCommMockRecorder
    18  }
    19  
    20  // MockDIDCommMockRecorder is the mock recorder for MockDIDComm.
    21  type MockDIDCommMockRecorder struct {
    22  	mock *MockDIDComm
    23  }
    24  
    25  // NewMockDIDComm creates a new mock instance.
    26  func NewMockDIDComm(ctrl *gomock.Controller) *MockDIDComm {
    27  	mock := &MockDIDComm{ctrl: ctrl}
    28  	mock.recorder = &MockDIDCommMockRecorder{mock}
    29  	return mock
    30  }
    31  
    32  // EXPECT returns an object that allows the caller to indicate expected use.
    33  func (m *MockDIDComm) EXPECT() *MockDIDCommMockRecorder {
    34  	return m.recorder
    35  }
    36  
    37  // HandleInbound mocks base method.
    38  func (m *MockDIDComm) HandleInbound(arg0 service.DIDCommMsg, arg1 service.DIDCommContext) (string, error) {
    39  	m.ctrl.T.Helper()
    40  	ret := m.ctrl.Call(m, "HandleInbound", arg0, arg1)
    41  	ret0, _ := ret[0].(string)
    42  	ret1, _ := ret[1].(error)
    43  	return ret0, ret1
    44  }
    45  
    46  // HandleInbound indicates an expected call of HandleInbound.
    47  func (mr *MockDIDCommMockRecorder) HandleInbound(arg0, arg1 interface{}) *gomock.Call {
    48  	mr.mock.ctrl.T.Helper()
    49  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HandleInbound", reflect.TypeOf((*MockDIDComm)(nil).HandleInbound), arg0, arg1)
    50  }
    51  
    52  // HandleOutbound mocks base method.
    53  func (m *MockDIDComm) HandleOutbound(arg0 service.DIDCommMsg, arg1, arg2 string) (string, error) {
    54  	m.ctrl.T.Helper()
    55  	ret := m.ctrl.Call(m, "HandleOutbound", arg0, arg1, arg2)
    56  	ret0, _ := ret[0].(string)
    57  	ret1, _ := ret[1].(error)
    58  	return ret0, ret1
    59  }
    60  
    61  // HandleOutbound indicates an expected call of HandleOutbound.
    62  func (mr *MockDIDCommMockRecorder) HandleOutbound(arg0, arg1, arg2 interface{}) *gomock.Call {
    63  	mr.mock.ctrl.T.Helper()
    64  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HandleOutbound", reflect.TypeOf((*MockDIDComm)(nil).HandleOutbound), arg0, arg1, arg2)
    65  }
    66  
    67  // RegisterActionEvent mocks base method.
    68  func (m *MockDIDComm) RegisterActionEvent(arg0 chan<- service.DIDCommAction) error {
    69  	m.ctrl.T.Helper()
    70  	ret := m.ctrl.Call(m, "RegisterActionEvent", arg0)
    71  	ret0, _ := ret[0].(error)
    72  	return ret0
    73  }
    74  
    75  // RegisterActionEvent indicates an expected call of RegisterActionEvent.
    76  func (mr *MockDIDCommMockRecorder) RegisterActionEvent(arg0 interface{}) *gomock.Call {
    77  	mr.mock.ctrl.T.Helper()
    78  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterActionEvent", reflect.TypeOf((*MockDIDComm)(nil).RegisterActionEvent), arg0)
    79  }
    80  
    81  // RegisterMsgEvent mocks base method.
    82  func (m *MockDIDComm) RegisterMsgEvent(arg0 chan<- service.StateMsg) error {
    83  	m.ctrl.T.Helper()
    84  	ret := m.ctrl.Call(m, "RegisterMsgEvent", arg0)
    85  	ret0, _ := ret[0].(error)
    86  	return ret0
    87  }
    88  
    89  // RegisterMsgEvent indicates an expected call of RegisterMsgEvent.
    90  func (mr *MockDIDCommMockRecorder) RegisterMsgEvent(arg0 interface{}) *gomock.Call {
    91  	mr.mock.ctrl.T.Helper()
    92  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterMsgEvent", reflect.TypeOf((*MockDIDComm)(nil).RegisterMsgEvent), arg0)
    93  }
    94  
    95  // UnregisterActionEvent mocks base method.
    96  func (m *MockDIDComm) UnregisterActionEvent(arg0 chan<- service.DIDCommAction) error {
    97  	m.ctrl.T.Helper()
    98  	ret := m.ctrl.Call(m, "UnregisterActionEvent", arg0)
    99  	ret0, _ := ret[0].(error)
   100  	return ret0
   101  }
   102  
   103  // UnregisterActionEvent indicates an expected call of UnregisterActionEvent.
   104  func (mr *MockDIDCommMockRecorder) UnregisterActionEvent(arg0 interface{}) *gomock.Call {
   105  	mr.mock.ctrl.T.Helper()
   106  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnregisterActionEvent", reflect.TypeOf((*MockDIDComm)(nil).UnregisterActionEvent), arg0)
   107  }
   108  
   109  // UnregisterMsgEvent mocks base method.
   110  func (m *MockDIDComm) UnregisterMsgEvent(arg0 chan<- service.StateMsg) error {
   111  	m.ctrl.T.Helper()
   112  	ret := m.ctrl.Call(m, "UnregisterMsgEvent", arg0)
   113  	ret0, _ := ret[0].(error)
   114  	return ret0
   115  }
   116  
   117  // UnregisterMsgEvent indicates an expected call of UnregisterMsgEvent.
   118  func (mr *MockDIDCommMockRecorder) UnregisterMsgEvent(arg0 interface{}) *gomock.Call {
   119  	mr.mock.ctrl.T.Helper()
   120  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnregisterMsgEvent", reflect.TypeOf((*MockDIDComm)(nil).UnregisterMsgEvent), arg0)
   121  }
   122  
   123  // MockEvent is a mock of Event interface.
   124  type MockEvent struct {
   125  	ctrl     *gomock.Controller
   126  	recorder *MockEventMockRecorder
   127  }
   128  
   129  // MockEventMockRecorder is the mock recorder for MockEvent.
   130  type MockEventMockRecorder struct {
   131  	mock *MockEvent
   132  }
   133  
   134  // NewMockEvent creates a new mock instance.
   135  func NewMockEvent(ctrl *gomock.Controller) *MockEvent {
   136  	mock := &MockEvent{ctrl: ctrl}
   137  	mock.recorder = &MockEventMockRecorder{mock}
   138  	return mock
   139  }
   140  
   141  // EXPECT returns an object that allows the caller to indicate expected use.
   142  func (m *MockEvent) EXPECT() *MockEventMockRecorder {
   143  	return m.recorder
   144  }
   145  
   146  // RegisterActionEvent mocks base method.
   147  func (m *MockEvent) RegisterActionEvent(arg0 chan<- service.DIDCommAction) error {
   148  	m.ctrl.T.Helper()
   149  	ret := m.ctrl.Call(m, "RegisterActionEvent", arg0)
   150  	ret0, _ := ret[0].(error)
   151  	return ret0
   152  }
   153  
   154  // RegisterActionEvent indicates an expected call of RegisterActionEvent.
   155  func (mr *MockEventMockRecorder) RegisterActionEvent(arg0 interface{}) *gomock.Call {
   156  	mr.mock.ctrl.T.Helper()
   157  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterActionEvent", reflect.TypeOf((*MockEvent)(nil).RegisterActionEvent), arg0)
   158  }
   159  
   160  // RegisterMsgEvent mocks base method.
   161  func (m *MockEvent) RegisterMsgEvent(arg0 chan<- service.StateMsg) error {
   162  	m.ctrl.T.Helper()
   163  	ret := m.ctrl.Call(m, "RegisterMsgEvent", arg0)
   164  	ret0, _ := ret[0].(error)
   165  	return ret0
   166  }
   167  
   168  // RegisterMsgEvent indicates an expected call of RegisterMsgEvent.
   169  func (mr *MockEventMockRecorder) RegisterMsgEvent(arg0 interface{}) *gomock.Call {
   170  	mr.mock.ctrl.T.Helper()
   171  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterMsgEvent", reflect.TypeOf((*MockEvent)(nil).RegisterMsgEvent), arg0)
   172  }
   173  
   174  // UnregisterActionEvent mocks base method.
   175  func (m *MockEvent) UnregisterActionEvent(arg0 chan<- service.DIDCommAction) error {
   176  	m.ctrl.T.Helper()
   177  	ret := m.ctrl.Call(m, "UnregisterActionEvent", arg0)
   178  	ret0, _ := ret[0].(error)
   179  	return ret0
   180  }
   181  
   182  // UnregisterActionEvent indicates an expected call of UnregisterActionEvent.
   183  func (mr *MockEventMockRecorder) UnregisterActionEvent(arg0 interface{}) *gomock.Call {
   184  	mr.mock.ctrl.T.Helper()
   185  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnregisterActionEvent", reflect.TypeOf((*MockEvent)(nil).UnregisterActionEvent), arg0)
   186  }
   187  
   188  // UnregisterMsgEvent mocks base method.
   189  func (m *MockEvent) UnregisterMsgEvent(arg0 chan<- service.StateMsg) error {
   190  	m.ctrl.T.Helper()
   191  	ret := m.ctrl.Call(m, "UnregisterMsgEvent", arg0)
   192  	ret0, _ := ret[0].(error)
   193  	return ret0
   194  }
   195  
   196  // UnregisterMsgEvent indicates an expected call of UnregisterMsgEvent.
   197  func (mr *MockEventMockRecorder) UnregisterMsgEvent(arg0 interface{}) *gomock.Call {
   198  	mr.mock.ctrl.T.Helper()
   199  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnregisterMsgEvent", reflect.TypeOf((*MockEvent)(nil).UnregisterMsgEvent), arg0)
   200  }
   201  
   202  // MockMessenger is a mock of Messenger interface.
   203  type MockMessenger struct {
   204  	ctrl     *gomock.Controller
   205  	recorder *MockMessengerMockRecorder
   206  }
   207  
   208  // MockMessengerMockRecorder is the mock recorder for MockMessenger.
   209  type MockMessengerMockRecorder struct {
   210  	mock *MockMessenger
   211  }
   212  
   213  // NewMockMessenger creates a new mock instance.
   214  func NewMockMessenger(ctrl *gomock.Controller) *MockMessenger {
   215  	mock := &MockMessenger{ctrl: ctrl}
   216  	mock.recorder = &MockMessengerMockRecorder{mock}
   217  	return mock
   218  }
   219  
   220  // EXPECT returns an object that allows the caller to indicate expected use.
   221  func (m *MockMessenger) EXPECT() *MockMessengerMockRecorder {
   222  	return m.recorder
   223  }
   224  
   225  // ReplyTo mocks base method.
   226  func (m *MockMessenger) ReplyTo(arg0 string, arg1 service.DIDCommMsgMap, arg2 ...service.Opt) error {
   227  	m.ctrl.T.Helper()
   228  	varargs := []interface{}{arg0, arg1}
   229  	for _, a := range arg2 {
   230  		varargs = append(varargs, a)
   231  	}
   232  	ret := m.ctrl.Call(m, "ReplyTo", varargs...)
   233  	ret0, _ := ret[0].(error)
   234  	return ret0
   235  }
   236  
   237  // ReplyTo indicates an expected call of ReplyTo.
   238  func (mr *MockMessengerMockRecorder) ReplyTo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   239  	mr.mock.ctrl.T.Helper()
   240  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   241  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReplyTo", reflect.TypeOf((*MockMessenger)(nil).ReplyTo), varargs...)
   242  }
   243  
   244  // ReplyToMsg mocks base method.
   245  func (m *MockMessenger) ReplyToMsg(arg0, arg1 service.DIDCommMsgMap, arg2, arg3 string, arg4 ...service.Opt) error {
   246  	m.ctrl.T.Helper()
   247  	varargs := []interface{}{arg0, arg1, arg2, arg3}
   248  	for _, a := range arg4 {
   249  		varargs = append(varargs, a)
   250  	}
   251  	ret := m.ctrl.Call(m, "ReplyToMsg", varargs...)
   252  	ret0, _ := ret[0].(error)
   253  	return ret0
   254  }
   255  
   256  // ReplyToMsg indicates an expected call of ReplyToMsg.
   257  func (mr *MockMessengerMockRecorder) ReplyToMsg(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call {
   258  	mr.mock.ctrl.T.Helper()
   259  	varargs := append([]interface{}{arg0, arg1, arg2, arg3}, arg4...)
   260  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReplyToMsg", reflect.TypeOf((*MockMessenger)(nil).ReplyToMsg), varargs...)
   261  }
   262  
   263  // ReplyToNested mocks base method.
   264  func (m *MockMessenger) ReplyToNested(arg0 service.DIDCommMsgMap, arg1 *service.NestedReplyOpts) error {
   265  	m.ctrl.T.Helper()
   266  	ret := m.ctrl.Call(m, "ReplyToNested", arg0, arg1)
   267  	ret0, _ := ret[0].(error)
   268  	return ret0
   269  }
   270  
   271  // ReplyToNested indicates an expected call of ReplyToNested.
   272  func (mr *MockMessengerMockRecorder) ReplyToNested(arg0, arg1 interface{}) *gomock.Call {
   273  	mr.mock.ctrl.T.Helper()
   274  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReplyToNested", reflect.TypeOf((*MockMessenger)(nil).ReplyToNested), arg0, arg1)
   275  }
   276  
   277  // Send mocks base method.
   278  func (m *MockMessenger) Send(arg0 service.DIDCommMsgMap, arg1, arg2 string, arg3 ...service.Opt) error {
   279  	m.ctrl.T.Helper()
   280  	varargs := []interface{}{arg0, arg1, arg2}
   281  	for _, a := range arg3 {
   282  		varargs = append(varargs, a)
   283  	}
   284  	ret := m.ctrl.Call(m, "Send", varargs...)
   285  	ret0, _ := ret[0].(error)
   286  	return ret0
   287  }
   288  
   289  // Send indicates an expected call of Send.
   290  func (mr *MockMessengerMockRecorder) Send(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
   291  	mr.mock.ctrl.T.Helper()
   292  	varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
   293  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockMessenger)(nil).Send), varargs...)
   294  }
   295  
   296  // SendToDestination mocks base method.
   297  func (m *MockMessenger) SendToDestination(arg0 service.DIDCommMsgMap, arg1 string, arg2 *service.Destination, arg3 ...service.Opt) error {
   298  	m.ctrl.T.Helper()
   299  	varargs := []interface{}{arg0, arg1, arg2}
   300  	for _, a := range arg3 {
   301  		varargs = append(varargs, a)
   302  	}
   303  	ret := m.ctrl.Call(m, "SendToDestination", varargs...)
   304  	ret0, _ := ret[0].(error)
   305  	return ret0
   306  }
   307  
   308  // SendToDestination indicates an expected call of SendToDestination.
   309  func (mr *MockMessengerMockRecorder) SendToDestination(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
   310  	mr.mock.ctrl.T.Helper()
   311  	varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
   312  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendToDestination", reflect.TypeOf((*MockMessenger)(nil).SendToDestination), varargs...)
   313  }
   314  
   315  // MockMessengerHandler is a mock of MessengerHandler interface.
   316  type MockMessengerHandler struct {
   317  	ctrl     *gomock.Controller
   318  	recorder *MockMessengerHandlerMockRecorder
   319  }
   320  
   321  // MockMessengerHandlerMockRecorder is the mock recorder for MockMessengerHandler.
   322  type MockMessengerHandlerMockRecorder struct {
   323  	mock *MockMessengerHandler
   324  }
   325  
   326  // NewMockMessengerHandler creates a new mock instance.
   327  func NewMockMessengerHandler(ctrl *gomock.Controller) *MockMessengerHandler {
   328  	mock := &MockMessengerHandler{ctrl: ctrl}
   329  	mock.recorder = &MockMessengerHandlerMockRecorder{mock}
   330  	return mock
   331  }
   332  
   333  // EXPECT returns an object that allows the caller to indicate expected use.
   334  func (m *MockMessengerHandler) EXPECT() *MockMessengerHandlerMockRecorder {
   335  	return m.recorder
   336  }
   337  
   338  // HandleInbound mocks base method.
   339  func (m *MockMessengerHandler) HandleInbound(arg0 service.DIDCommMsgMap, arg1 service.DIDCommContext) error {
   340  	m.ctrl.T.Helper()
   341  	ret := m.ctrl.Call(m, "HandleInbound", arg0, arg1)
   342  	ret0, _ := ret[0].(error)
   343  	return ret0
   344  }
   345  
   346  // HandleInbound indicates an expected call of HandleInbound.
   347  func (mr *MockMessengerHandlerMockRecorder) HandleInbound(arg0, arg1 interface{}) *gomock.Call {
   348  	mr.mock.ctrl.T.Helper()
   349  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HandleInbound", reflect.TypeOf((*MockMessengerHandler)(nil).HandleInbound), arg0, arg1)
   350  }
   351  
   352  // ReplyTo mocks base method.
   353  func (m *MockMessengerHandler) ReplyTo(arg0 string, arg1 service.DIDCommMsgMap, arg2 ...service.Opt) error {
   354  	m.ctrl.T.Helper()
   355  	varargs := []interface{}{arg0, arg1}
   356  	for _, a := range arg2 {
   357  		varargs = append(varargs, a)
   358  	}
   359  	ret := m.ctrl.Call(m, "ReplyTo", varargs...)
   360  	ret0, _ := ret[0].(error)
   361  	return ret0
   362  }
   363  
   364  // ReplyTo indicates an expected call of ReplyTo.
   365  func (mr *MockMessengerHandlerMockRecorder) ReplyTo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   366  	mr.mock.ctrl.T.Helper()
   367  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   368  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReplyTo", reflect.TypeOf((*MockMessengerHandler)(nil).ReplyTo), varargs...)
   369  }
   370  
   371  // ReplyToMsg mocks base method.
   372  func (m *MockMessengerHandler) ReplyToMsg(arg0, arg1 service.DIDCommMsgMap, arg2, arg3 string, arg4 ...service.Opt) error {
   373  	m.ctrl.T.Helper()
   374  	varargs := []interface{}{arg0, arg1, arg2, arg3}
   375  	for _, a := range arg4 {
   376  		varargs = append(varargs, a)
   377  	}
   378  	ret := m.ctrl.Call(m, "ReplyToMsg", varargs...)
   379  	ret0, _ := ret[0].(error)
   380  	return ret0
   381  }
   382  
   383  // ReplyToMsg indicates an expected call of ReplyToMsg.
   384  func (mr *MockMessengerHandlerMockRecorder) ReplyToMsg(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call {
   385  	mr.mock.ctrl.T.Helper()
   386  	varargs := append([]interface{}{arg0, arg1, arg2, arg3}, arg4...)
   387  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReplyToMsg", reflect.TypeOf((*MockMessengerHandler)(nil).ReplyToMsg), varargs...)
   388  }
   389  
   390  // ReplyToNested mocks base method.
   391  func (m *MockMessengerHandler) ReplyToNested(arg0 service.DIDCommMsgMap, arg1 *service.NestedReplyOpts) error {
   392  	m.ctrl.T.Helper()
   393  	ret := m.ctrl.Call(m, "ReplyToNested", arg0, arg1)
   394  	ret0, _ := ret[0].(error)
   395  	return ret0
   396  }
   397  
   398  // ReplyToNested indicates an expected call of ReplyToNested.
   399  func (mr *MockMessengerHandlerMockRecorder) ReplyToNested(arg0, arg1 interface{}) *gomock.Call {
   400  	mr.mock.ctrl.T.Helper()
   401  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReplyToNested", reflect.TypeOf((*MockMessengerHandler)(nil).ReplyToNested), arg0, arg1)
   402  }
   403  
   404  // Send mocks base method.
   405  func (m *MockMessengerHandler) Send(arg0 service.DIDCommMsgMap, arg1, arg2 string, arg3 ...service.Opt) error {
   406  	m.ctrl.T.Helper()
   407  	varargs := []interface{}{arg0, arg1, arg2}
   408  	for _, a := range arg3 {
   409  		varargs = append(varargs, a)
   410  	}
   411  	ret := m.ctrl.Call(m, "Send", varargs...)
   412  	ret0, _ := ret[0].(error)
   413  	return ret0
   414  }
   415  
   416  // Send indicates an expected call of Send.
   417  func (mr *MockMessengerHandlerMockRecorder) Send(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
   418  	mr.mock.ctrl.T.Helper()
   419  	varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
   420  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockMessengerHandler)(nil).Send), varargs...)
   421  }
   422  
   423  // SendToDestination mocks base method.
   424  func (m *MockMessengerHandler) SendToDestination(arg0 service.DIDCommMsgMap, arg1 string, arg2 *service.Destination, arg3 ...service.Opt) error {
   425  	m.ctrl.T.Helper()
   426  	varargs := []interface{}{arg0, arg1, arg2}
   427  	for _, a := range arg3 {
   428  		varargs = append(varargs, a)
   429  	}
   430  	ret := m.ctrl.Call(m, "SendToDestination", varargs...)
   431  	ret0, _ := ret[0].(error)
   432  	return ret0
   433  }
   434  
   435  // SendToDestination indicates an expected call of SendToDestination.
   436  func (mr *MockMessengerHandlerMockRecorder) SendToDestination(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
   437  	mr.mock.ctrl.T.Helper()
   438  	varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
   439  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendToDestination", reflect.TypeOf((*MockMessengerHandler)(nil).SendToDestination), varargs...)
   440  }