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

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/hyperledger/aries-framework-go/pkg/client/outofband (interfaces: Provider,OobService)
     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  	outofband "github.com/hyperledger/aries-framework-go/pkg/didcomm/protocol/outofband"
    13  	kms "github.com/hyperledger/aries-framework-go/spi/kms"
    14  )
    15  
    16  // MockProvider is a mock of Provider interface.
    17  type MockProvider struct {
    18  	ctrl     *gomock.Controller
    19  	recorder *MockProviderMockRecorder
    20  }
    21  
    22  // MockProviderMockRecorder is the mock recorder for MockProvider.
    23  type MockProviderMockRecorder struct {
    24  	mock *MockProvider
    25  }
    26  
    27  // NewMockProvider creates a new mock instance.
    28  func NewMockProvider(ctrl *gomock.Controller) *MockProvider {
    29  	mock := &MockProvider{ctrl: ctrl}
    30  	mock.recorder = &MockProviderMockRecorder{mock}
    31  	return mock
    32  }
    33  
    34  // EXPECT returns an object that allows the caller to indicate expected use.
    35  func (m *MockProvider) EXPECT() *MockProviderMockRecorder {
    36  	return m.recorder
    37  }
    38  
    39  // KMS mocks base method.
    40  func (m *MockProvider) KMS() kms.KeyManager {
    41  	m.ctrl.T.Helper()
    42  	ret := m.ctrl.Call(m, "KMS")
    43  	ret0, _ := ret[0].(kms.KeyManager)
    44  	return ret0
    45  }
    46  
    47  // KMS indicates an expected call of KMS.
    48  func (mr *MockProviderMockRecorder) KMS() *gomock.Call {
    49  	mr.mock.ctrl.T.Helper()
    50  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "KMS", reflect.TypeOf((*MockProvider)(nil).KMS))
    51  }
    52  
    53  // KeyAgreementType mocks base method.
    54  func (m *MockProvider) KeyAgreementType() kms.KeyType {
    55  	m.ctrl.T.Helper()
    56  	ret := m.ctrl.Call(m, "KeyAgreementType")
    57  	ret0, _ := ret[0].(kms.KeyType)
    58  	return ret0
    59  }
    60  
    61  // KeyAgreementType indicates an expected call of KeyAgreementType.
    62  func (mr *MockProviderMockRecorder) KeyAgreementType() *gomock.Call {
    63  	mr.mock.ctrl.T.Helper()
    64  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "KeyAgreementType", reflect.TypeOf((*MockProvider)(nil).KeyAgreementType))
    65  }
    66  
    67  // KeyType mocks base method.
    68  func (m *MockProvider) KeyType() kms.KeyType {
    69  	m.ctrl.T.Helper()
    70  	ret := m.ctrl.Call(m, "KeyType")
    71  	ret0, _ := ret[0].(kms.KeyType)
    72  	return ret0
    73  }
    74  
    75  // KeyType indicates an expected call of KeyType.
    76  func (mr *MockProviderMockRecorder) KeyType() *gomock.Call {
    77  	mr.mock.ctrl.T.Helper()
    78  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "KeyType", reflect.TypeOf((*MockProvider)(nil).KeyType))
    79  }
    80  
    81  // MediaTypeProfiles mocks base method.
    82  func (m *MockProvider) MediaTypeProfiles() []string {
    83  	m.ctrl.T.Helper()
    84  	ret := m.ctrl.Call(m, "MediaTypeProfiles")
    85  	ret0, _ := ret[0].([]string)
    86  	return ret0
    87  }
    88  
    89  // MediaTypeProfiles indicates an expected call of MediaTypeProfiles.
    90  func (mr *MockProviderMockRecorder) MediaTypeProfiles() *gomock.Call {
    91  	mr.mock.ctrl.T.Helper()
    92  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MediaTypeProfiles", reflect.TypeOf((*MockProvider)(nil).MediaTypeProfiles))
    93  }
    94  
    95  // Service mocks base method.
    96  func (m *MockProvider) Service(arg0 string) (interface{}, error) {
    97  	m.ctrl.T.Helper()
    98  	ret := m.ctrl.Call(m, "Service", arg0)
    99  	ret0, _ := ret[0].(interface{})
   100  	ret1, _ := ret[1].(error)
   101  	return ret0, ret1
   102  }
   103  
   104  // Service indicates an expected call of Service.
   105  func (mr *MockProviderMockRecorder) Service(arg0 interface{}) *gomock.Call {
   106  	mr.mock.ctrl.T.Helper()
   107  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Service", reflect.TypeOf((*MockProvider)(nil).Service), arg0)
   108  }
   109  
   110  // ServiceEndpoint mocks base method.
   111  func (m *MockProvider) ServiceEndpoint() string {
   112  	m.ctrl.T.Helper()
   113  	ret := m.ctrl.Call(m, "ServiceEndpoint")
   114  	ret0, _ := ret[0].(string)
   115  	return ret0
   116  }
   117  
   118  // ServiceEndpoint indicates an expected call of ServiceEndpoint.
   119  func (mr *MockProviderMockRecorder) ServiceEndpoint() *gomock.Call {
   120  	mr.mock.ctrl.T.Helper()
   121  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceEndpoint", reflect.TypeOf((*MockProvider)(nil).ServiceEndpoint))
   122  }
   123  
   124  // MockOobService is a mock of OobService interface.
   125  type MockOobService struct {
   126  	ctrl     *gomock.Controller
   127  	recorder *MockOobServiceMockRecorder
   128  }
   129  
   130  // MockOobServiceMockRecorder is the mock recorder for MockOobService.
   131  type MockOobServiceMockRecorder struct {
   132  	mock *MockOobService
   133  }
   134  
   135  // NewMockOobService creates a new mock instance.
   136  func NewMockOobService(ctrl *gomock.Controller) *MockOobService {
   137  	mock := &MockOobService{ctrl: ctrl}
   138  	mock.recorder = &MockOobServiceMockRecorder{mock}
   139  	return mock
   140  }
   141  
   142  // EXPECT returns an object that allows the caller to indicate expected use.
   143  func (m *MockOobService) EXPECT() *MockOobServiceMockRecorder {
   144  	return m.recorder
   145  }
   146  
   147  // AcceptInvitation mocks base method.
   148  func (m *MockOobService) AcceptInvitation(arg0 *outofband.Invitation, arg1 outofband.Options) (string, error) {
   149  	m.ctrl.T.Helper()
   150  	ret := m.ctrl.Call(m, "AcceptInvitation", arg0, arg1)
   151  	ret0, _ := ret[0].(string)
   152  	ret1, _ := ret[1].(error)
   153  	return ret0, ret1
   154  }
   155  
   156  // AcceptInvitation indicates an expected call of AcceptInvitation.
   157  func (mr *MockOobServiceMockRecorder) AcceptInvitation(arg0, arg1 interface{}) *gomock.Call {
   158  	mr.mock.ctrl.T.Helper()
   159  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AcceptInvitation", reflect.TypeOf((*MockOobService)(nil).AcceptInvitation), arg0, arg1)
   160  }
   161  
   162  // ActionContinue mocks base method.
   163  func (m *MockOobService) ActionContinue(arg0 string, arg1 outofband.Options) error {
   164  	m.ctrl.T.Helper()
   165  	ret := m.ctrl.Call(m, "ActionContinue", arg0, arg1)
   166  	ret0, _ := ret[0].(error)
   167  	return ret0
   168  }
   169  
   170  // ActionContinue indicates an expected call of ActionContinue.
   171  func (mr *MockOobServiceMockRecorder) ActionContinue(arg0, arg1 interface{}) *gomock.Call {
   172  	mr.mock.ctrl.T.Helper()
   173  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActionContinue", reflect.TypeOf((*MockOobService)(nil).ActionContinue), arg0, arg1)
   174  }
   175  
   176  // ActionStop mocks base method.
   177  func (m *MockOobService) ActionStop(arg0 string, arg1 error) error {
   178  	m.ctrl.T.Helper()
   179  	ret := m.ctrl.Call(m, "ActionStop", arg0, arg1)
   180  	ret0, _ := ret[0].(error)
   181  	return ret0
   182  }
   183  
   184  // ActionStop indicates an expected call of ActionStop.
   185  func (mr *MockOobServiceMockRecorder) ActionStop(arg0, arg1 interface{}) *gomock.Call {
   186  	mr.mock.ctrl.T.Helper()
   187  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActionStop", reflect.TypeOf((*MockOobService)(nil).ActionStop), arg0, arg1)
   188  }
   189  
   190  // Actions mocks base method.
   191  func (m *MockOobService) Actions() ([]outofband.Action, error) {
   192  	m.ctrl.T.Helper()
   193  	ret := m.ctrl.Call(m, "Actions")
   194  	ret0, _ := ret[0].([]outofband.Action)
   195  	ret1, _ := ret[1].(error)
   196  	return ret0, ret1
   197  }
   198  
   199  // Actions indicates an expected call of Actions.
   200  func (mr *MockOobServiceMockRecorder) Actions() *gomock.Call {
   201  	mr.mock.ctrl.T.Helper()
   202  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Actions", reflect.TypeOf((*MockOobService)(nil).Actions))
   203  }
   204  
   205  // RegisterActionEvent mocks base method.
   206  func (m *MockOobService) RegisterActionEvent(arg0 chan<- service.DIDCommAction) error {
   207  	m.ctrl.T.Helper()
   208  	ret := m.ctrl.Call(m, "RegisterActionEvent", arg0)
   209  	ret0, _ := ret[0].(error)
   210  	return ret0
   211  }
   212  
   213  // RegisterActionEvent indicates an expected call of RegisterActionEvent.
   214  func (mr *MockOobServiceMockRecorder) RegisterActionEvent(arg0 interface{}) *gomock.Call {
   215  	mr.mock.ctrl.T.Helper()
   216  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterActionEvent", reflect.TypeOf((*MockOobService)(nil).RegisterActionEvent), arg0)
   217  }
   218  
   219  // RegisterMsgEvent mocks base method.
   220  func (m *MockOobService) RegisterMsgEvent(arg0 chan<- service.StateMsg) error {
   221  	m.ctrl.T.Helper()
   222  	ret := m.ctrl.Call(m, "RegisterMsgEvent", arg0)
   223  	ret0, _ := ret[0].(error)
   224  	return ret0
   225  }
   226  
   227  // RegisterMsgEvent indicates an expected call of RegisterMsgEvent.
   228  func (mr *MockOobServiceMockRecorder) RegisterMsgEvent(arg0 interface{}) *gomock.Call {
   229  	mr.mock.ctrl.T.Helper()
   230  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterMsgEvent", reflect.TypeOf((*MockOobService)(nil).RegisterMsgEvent), arg0)
   231  }
   232  
   233  // SaveInvitation mocks base method.
   234  func (m *MockOobService) SaveInvitation(arg0 *outofband.Invitation) error {
   235  	m.ctrl.T.Helper()
   236  	ret := m.ctrl.Call(m, "SaveInvitation", arg0)
   237  	ret0, _ := ret[0].(error)
   238  	return ret0
   239  }
   240  
   241  // SaveInvitation indicates an expected call of SaveInvitation.
   242  func (mr *MockOobServiceMockRecorder) SaveInvitation(arg0 interface{}) *gomock.Call {
   243  	mr.mock.ctrl.T.Helper()
   244  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SaveInvitation", reflect.TypeOf((*MockOobService)(nil).SaveInvitation), arg0)
   245  }
   246  
   247  // UnregisterActionEvent mocks base method.
   248  func (m *MockOobService) UnregisterActionEvent(arg0 chan<- service.DIDCommAction) error {
   249  	m.ctrl.T.Helper()
   250  	ret := m.ctrl.Call(m, "UnregisterActionEvent", arg0)
   251  	ret0, _ := ret[0].(error)
   252  	return ret0
   253  }
   254  
   255  // UnregisterActionEvent indicates an expected call of UnregisterActionEvent.
   256  func (mr *MockOobServiceMockRecorder) UnregisterActionEvent(arg0 interface{}) *gomock.Call {
   257  	mr.mock.ctrl.T.Helper()
   258  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnregisterActionEvent", reflect.TypeOf((*MockOobService)(nil).UnregisterActionEvent), arg0)
   259  }
   260  
   261  // UnregisterMsgEvent mocks base method.
   262  func (m *MockOobService) UnregisterMsgEvent(arg0 chan<- service.StateMsg) error {
   263  	m.ctrl.T.Helper()
   264  	ret := m.ctrl.Call(m, "UnregisterMsgEvent", arg0)
   265  	ret0, _ := ret[0].(error)
   266  	return ret0
   267  }
   268  
   269  // UnregisterMsgEvent indicates an expected call of UnregisterMsgEvent.
   270  func (mr *MockOobServiceMockRecorder) UnregisterMsgEvent(arg0 interface{}) *gomock.Call {
   271  	mr.mock.ctrl.T.Helper()
   272  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnregisterMsgEvent", reflect.TypeOf((*MockOobService)(nil).UnregisterMsgEvent), arg0)
   273  }