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

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/hyperledger/aries-framework-go/pkg/client/issuecredential (interfaces: Provider,ProtocolService)
     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  	issuecredential "github.com/hyperledger/aries-framework-go/pkg/didcomm/protocol/issuecredential"
    13  )
    14  
    15  // MockProvider is a mock of Provider interface.
    16  type MockProvider struct {
    17  	ctrl     *gomock.Controller
    18  	recorder *MockProviderMockRecorder
    19  }
    20  
    21  // MockProviderMockRecorder is the mock recorder for MockProvider.
    22  type MockProviderMockRecorder struct {
    23  	mock *MockProvider
    24  }
    25  
    26  // NewMockProvider creates a new mock instance.
    27  func NewMockProvider(ctrl *gomock.Controller) *MockProvider {
    28  	mock := &MockProvider{ctrl: ctrl}
    29  	mock.recorder = &MockProviderMockRecorder{mock}
    30  	return mock
    31  }
    32  
    33  // EXPECT returns an object that allows the caller to indicate expected use.
    34  func (m *MockProvider) EXPECT() *MockProviderMockRecorder {
    35  	return m.recorder
    36  }
    37  
    38  // Service mocks base method.
    39  func (m *MockProvider) Service(arg0 string) (interface{}, error) {
    40  	m.ctrl.T.Helper()
    41  	ret := m.ctrl.Call(m, "Service", arg0)
    42  	ret0, _ := ret[0].(interface{})
    43  	ret1, _ := ret[1].(error)
    44  	return ret0, ret1
    45  }
    46  
    47  // Service indicates an expected call of Service.
    48  func (mr *MockProviderMockRecorder) Service(arg0 interface{}) *gomock.Call {
    49  	mr.mock.ctrl.T.Helper()
    50  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Service", reflect.TypeOf((*MockProvider)(nil).Service), arg0)
    51  }
    52  
    53  // MockProtocolService is a mock of ProtocolService interface.
    54  type MockProtocolService struct {
    55  	ctrl     *gomock.Controller
    56  	recorder *MockProtocolServiceMockRecorder
    57  }
    58  
    59  // MockProtocolServiceMockRecorder is the mock recorder for MockProtocolService.
    60  type MockProtocolServiceMockRecorder struct {
    61  	mock *MockProtocolService
    62  }
    63  
    64  // NewMockProtocolService creates a new mock instance.
    65  func NewMockProtocolService(ctrl *gomock.Controller) *MockProtocolService {
    66  	mock := &MockProtocolService{ctrl: ctrl}
    67  	mock.recorder = &MockProtocolServiceMockRecorder{mock}
    68  	return mock
    69  }
    70  
    71  // EXPECT returns an object that allows the caller to indicate expected use.
    72  func (m *MockProtocolService) EXPECT() *MockProtocolServiceMockRecorder {
    73  	return m.recorder
    74  }
    75  
    76  // ActionContinue mocks base method.
    77  func (m *MockProtocolService) ActionContinue(arg0 string, arg1 ...issuecredential.Opt) error {
    78  	m.ctrl.T.Helper()
    79  	varargs := []interface{}{arg0}
    80  	for _, a := range arg1 {
    81  		varargs = append(varargs, a)
    82  	}
    83  	ret := m.ctrl.Call(m, "ActionContinue", varargs...)
    84  	ret0, _ := ret[0].(error)
    85  	return ret0
    86  }
    87  
    88  // ActionContinue indicates an expected call of ActionContinue.
    89  func (mr *MockProtocolServiceMockRecorder) ActionContinue(arg0 interface{}, arg1 ...interface{}) *gomock.Call {
    90  	mr.mock.ctrl.T.Helper()
    91  	varargs := append([]interface{}{arg0}, arg1...)
    92  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActionContinue", reflect.TypeOf((*MockProtocolService)(nil).ActionContinue), varargs...)
    93  }
    94  
    95  // ActionStop mocks base method.
    96  func (m *MockProtocolService) ActionStop(arg0 string, arg1 error, arg2 ...issuecredential.Opt) error {
    97  	m.ctrl.T.Helper()
    98  	varargs := []interface{}{arg0, arg1}
    99  	for _, a := range arg2 {
   100  		varargs = append(varargs, a)
   101  	}
   102  	ret := m.ctrl.Call(m, "ActionStop", varargs...)
   103  	ret0, _ := ret[0].(error)
   104  	return ret0
   105  }
   106  
   107  // ActionStop indicates an expected call of ActionStop.
   108  func (mr *MockProtocolServiceMockRecorder) ActionStop(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
   109  	mr.mock.ctrl.T.Helper()
   110  	varargs := append([]interface{}{arg0, arg1}, arg2...)
   111  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActionStop", reflect.TypeOf((*MockProtocolService)(nil).ActionStop), varargs...)
   112  }
   113  
   114  // Actions mocks base method.
   115  func (m *MockProtocolService) Actions() ([]issuecredential.Action, error) {
   116  	m.ctrl.T.Helper()
   117  	ret := m.ctrl.Call(m, "Actions")
   118  	ret0, _ := ret[0].([]issuecredential.Action)
   119  	ret1, _ := ret[1].(error)
   120  	return ret0, ret1
   121  }
   122  
   123  // Actions indicates an expected call of Actions.
   124  func (mr *MockProtocolServiceMockRecorder) Actions() *gomock.Call {
   125  	mr.mock.ctrl.T.Helper()
   126  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Actions", reflect.TypeOf((*MockProtocolService)(nil).Actions))
   127  }
   128  
   129  // HandleInbound mocks base method.
   130  func (m *MockProtocolService) HandleInbound(arg0 service.DIDCommMsg, arg1 service.DIDCommContext) (string, error) {
   131  	m.ctrl.T.Helper()
   132  	ret := m.ctrl.Call(m, "HandleInbound", arg0, arg1)
   133  	ret0, _ := ret[0].(string)
   134  	ret1, _ := ret[1].(error)
   135  	return ret0, ret1
   136  }
   137  
   138  // HandleInbound indicates an expected call of HandleInbound.
   139  func (mr *MockProtocolServiceMockRecorder) HandleInbound(arg0, arg1 interface{}) *gomock.Call {
   140  	mr.mock.ctrl.T.Helper()
   141  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HandleInbound", reflect.TypeOf((*MockProtocolService)(nil).HandleInbound), arg0, arg1)
   142  }
   143  
   144  // HandleOutbound mocks base method.
   145  func (m *MockProtocolService) HandleOutbound(arg0 service.DIDCommMsg, arg1, arg2 string) (string, error) {
   146  	m.ctrl.T.Helper()
   147  	ret := m.ctrl.Call(m, "HandleOutbound", arg0, arg1, arg2)
   148  	ret0, _ := ret[0].(string)
   149  	ret1, _ := ret[1].(error)
   150  	return ret0, ret1
   151  }
   152  
   153  // HandleOutbound indicates an expected call of HandleOutbound.
   154  func (mr *MockProtocolServiceMockRecorder) HandleOutbound(arg0, arg1, arg2 interface{}) *gomock.Call {
   155  	mr.mock.ctrl.T.Helper()
   156  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HandleOutbound", reflect.TypeOf((*MockProtocolService)(nil).HandleOutbound), arg0, arg1, arg2)
   157  }
   158  
   159  // RegisterActionEvent mocks base method.
   160  func (m *MockProtocolService) RegisterActionEvent(arg0 chan<- service.DIDCommAction) error {
   161  	m.ctrl.T.Helper()
   162  	ret := m.ctrl.Call(m, "RegisterActionEvent", arg0)
   163  	ret0, _ := ret[0].(error)
   164  	return ret0
   165  }
   166  
   167  // RegisterActionEvent indicates an expected call of RegisterActionEvent.
   168  func (mr *MockProtocolServiceMockRecorder) RegisterActionEvent(arg0 interface{}) *gomock.Call {
   169  	mr.mock.ctrl.T.Helper()
   170  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterActionEvent", reflect.TypeOf((*MockProtocolService)(nil).RegisterActionEvent), arg0)
   171  }
   172  
   173  // RegisterMsgEvent mocks base method.
   174  func (m *MockProtocolService) RegisterMsgEvent(arg0 chan<- service.StateMsg) error {
   175  	m.ctrl.T.Helper()
   176  	ret := m.ctrl.Call(m, "RegisterMsgEvent", arg0)
   177  	ret0, _ := ret[0].(error)
   178  	return ret0
   179  }
   180  
   181  // RegisterMsgEvent indicates an expected call of RegisterMsgEvent.
   182  func (mr *MockProtocolServiceMockRecorder) RegisterMsgEvent(arg0 interface{}) *gomock.Call {
   183  	mr.mock.ctrl.T.Helper()
   184  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterMsgEvent", reflect.TypeOf((*MockProtocolService)(nil).RegisterMsgEvent), arg0)
   185  }
   186  
   187  // UnregisterActionEvent mocks base method.
   188  func (m *MockProtocolService) UnregisterActionEvent(arg0 chan<- service.DIDCommAction) error {
   189  	m.ctrl.T.Helper()
   190  	ret := m.ctrl.Call(m, "UnregisterActionEvent", arg0)
   191  	ret0, _ := ret[0].(error)
   192  	return ret0
   193  }
   194  
   195  // UnregisterActionEvent indicates an expected call of UnregisterActionEvent.
   196  func (mr *MockProtocolServiceMockRecorder) UnregisterActionEvent(arg0 interface{}) *gomock.Call {
   197  	mr.mock.ctrl.T.Helper()
   198  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnregisterActionEvent", reflect.TypeOf((*MockProtocolService)(nil).UnregisterActionEvent), arg0)
   199  }
   200  
   201  // UnregisterMsgEvent mocks base method.
   202  func (m *MockProtocolService) UnregisterMsgEvent(arg0 chan<- service.StateMsg) error {
   203  	m.ctrl.T.Helper()
   204  	ret := m.ctrl.Call(m, "UnregisterMsgEvent", arg0)
   205  	ret0, _ := ret[0].(error)
   206  	return ret0
   207  }
   208  
   209  // UnregisterMsgEvent indicates an expected call of UnregisterMsgEvent.
   210  func (mr *MockProtocolServiceMockRecorder) UnregisterMsgEvent(arg0 interface{}) *gomock.Call {
   211  	mr.mock.ctrl.T.Helper()
   212  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnregisterMsgEvent", reflect.TypeOf((*MockProtocolService)(nil).UnregisterMsgEvent), arg0)
   213  }