github.com/hyperledger/aries-framework-go@v0.3.2/pkg/internal/gomocks/didcomm/dispatcher/mocks.gen.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/hyperledger/aries-framework-go/pkg/didcomm/dispatcher (interfaces: Outbound) 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 // MockOutbound is a mock of Outbound interface. 15 type MockOutbound struct { 16 ctrl *gomock.Controller 17 recorder *MockOutboundMockRecorder 18 } 19 20 // MockOutboundMockRecorder is the mock recorder for MockOutbound. 21 type MockOutboundMockRecorder struct { 22 mock *MockOutbound 23 } 24 25 // NewMockOutbound creates a new mock instance. 26 func NewMockOutbound(ctrl *gomock.Controller) *MockOutbound { 27 mock := &MockOutbound{ctrl: ctrl} 28 mock.recorder = &MockOutboundMockRecorder{mock} 29 return mock 30 } 31 32 // EXPECT returns an object that allows the caller to indicate expected use. 33 func (m *MockOutbound) EXPECT() *MockOutboundMockRecorder { 34 return m.recorder 35 } 36 37 // Forward mocks base method. 38 func (m *MockOutbound) Forward(arg0 interface{}, arg1 *service.Destination) error { 39 m.ctrl.T.Helper() 40 ret := m.ctrl.Call(m, "Forward", arg0, arg1) 41 ret0, _ := ret[0].(error) 42 return ret0 43 } 44 45 // Forward indicates an expected call of Forward. 46 func (mr *MockOutboundMockRecorder) Forward(arg0, arg1 interface{}) *gomock.Call { 47 mr.mock.ctrl.T.Helper() 48 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Forward", reflect.TypeOf((*MockOutbound)(nil).Forward), arg0, arg1) 49 } 50 51 // Send mocks base method. 52 func (m *MockOutbound) Send(arg0 interface{}, arg1 string, arg2 *service.Destination) error { 53 m.ctrl.T.Helper() 54 ret := m.ctrl.Call(m, "Send", arg0, arg1, arg2) 55 ret0, _ := ret[0].(error) 56 return ret0 57 } 58 59 // Send indicates an expected call of Send. 60 func (mr *MockOutboundMockRecorder) Send(arg0, arg1, arg2 interface{}) *gomock.Call { 61 mr.mock.ctrl.T.Helper() 62 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockOutbound)(nil).Send), arg0, arg1, arg2) 63 } 64 65 // SendToDID mocks base method. 66 func (m *MockOutbound) SendToDID(arg0 interface{}, arg1, arg2 string) error { 67 m.ctrl.T.Helper() 68 ret := m.ctrl.Call(m, "SendToDID", arg0, arg1, arg2) 69 ret0, _ := ret[0].(error) 70 return ret0 71 } 72 73 // SendToDID indicates an expected call of SendToDID. 74 func (mr *MockOutboundMockRecorder) SendToDID(arg0, arg1, arg2 interface{}) *gomock.Call { 75 mr.mock.ctrl.T.Helper() 76 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendToDID", reflect.TypeOf((*MockOutbound)(nil).SendToDID), arg0, arg1, arg2) 77 }