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

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/hyperledger/aries-framework-go/pkg/client/outofbandv2 (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  	outofbandv2 "github.com/hyperledger/aries-framework-go/pkg/didcomm/protocol/outofbandv2"
    12  	kms "github.com/hyperledger/aries-framework-go/spi/kms"
    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  // KMS mocks base method.
    39  func (m *MockProvider) KMS() kms.KeyManager {
    40  	m.ctrl.T.Helper()
    41  	ret := m.ctrl.Call(m, "KMS")
    42  	ret0, _ := ret[0].(kms.KeyManager)
    43  	return ret0
    44  }
    45  
    46  // KMS indicates an expected call of KMS.
    47  func (mr *MockProviderMockRecorder) KMS() *gomock.Call {
    48  	mr.mock.ctrl.T.Helper()
    49  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "KMS", reflect.TypeOf((*MockProvider)(nil).KMS))
    50  }
    51  
    52  // KeyAgreementType mocks base method.
    53  func (m *MockProvider) KeyAgreementType() kms.KeyType {
    54  	m.ctrl.T.Helper()
    55  	ret := m.ctrl.Call(m, "KeyAgreementType")
    56  	ret0, _ := ret[0].(kms.KeyType)
    57  	return ret0
    58  }
    59  
    60  // KeyAgreementType indicates an expected call of KeyAgreementType.
    61  func (mr *MockProviderMockRecorder) KeyAgreementType() *gomock.Call {
    62  	mr.mock.ctrl.T.Helper()
    63  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "KeyAgreementType", reflect.TypeOf((*MockProvider)(nil).KeyAgreementType))
    64  }
    65  
    66  // KeyType mocks base method.
    67  func (m *MockProvider) KeyType() kms.KeyType {
    68  	m.ctrl.T.Helper()
    69  	ret := m.ctrl.Call(m, "KeyType")
    70  	ret0, _ := ret[0].(kms.KeyType)
    71  	return ret0
    72  }
    73  
    74  // KeyType indicates an expected call of KeyType.
    75  func (mr *MockProviderMockRecorder) KeyType() *gomock.Call {
    76  	mr.mock.ctrl.T.Helper()
    77  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "KeyType", reflect.TypeOf((*MockProvider)(nil).KeyType))
    78  }
    79  
    80  // MediaTypeProfiles mocks base method.
    81  func (m *MockProvider) MediaTypeProfiles() []string {
    82  	m.ctrl.T.Helper()
    83  	ret := m.ctrl.Call(m, "MediaTypeProfiles")
    84  	ret0, _ := ret[0].([]string)
    85  	return ret0
    86  }
    87  
    88  // MediaTypeProfiles indicates an expected call of MediaTypeProfiles.
    89  func (mr *MockProviderMockRecorder) MediaTypeProfiles() *gomock.Call {
    90  	mr.mock.ctrl.T.Helper()
    91  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MediaTypeProfiles", reflect.TypeOf((*MockProvider)(nil).MediaTypeProfiles))
    92  }
    93  
    94  // Service mocks base method.
    95  func (m *MockProvider) Service(arg0 string) (interface{}, error) {
    96  	m.ctrl.T.Helper()
    97  	ret := m.ctrl.Call(m, "Service", arg0)
    98  	ret0, _ := ret[0].(interface{})
    99  	ret1, _ := ret[1].(error)
   100  	return ret0, ret1
   101  }
   102  
   103  // Service indicates an expected call of Service.
   104  func (mr *MockProviderMockRecorder) Service(arg0 interface{}) *gomock.Call {
   105  	mr.mock.ctrl.T.Helper()
   106  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Service", reflect.TypeOf((*MockProvider)(nil).Service), arg0)
   107  }
   108  
   109  // ServiceEndpoint mocks base method.
   110  func (m *MockProvider) ServiceEndpoint() string {
   111  	m.ctrl.T.Helper()
   112  	ret := m.ctrl.Call(m, "ServiceEndpoint")
   113  	ret0, _ := ret[0].(string)
   114  	return ret0
   115  }
   116  
   117  // ServiceEndpoint indicates an expected call of ServiceEndpoint.
   118  func (mr *MockProviderMockRecorder) ServiceEndpoint() *gomock.Call {
   119  	mr.mock.ctrl.T.Helper()
   120  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceEndpoint", reflect.TypeOf((*MockProvider)(nil).ServiceEndpoint))
   121  }
   122  
   123  // MockOobService is a mock of OobService interface.
   124  type MockOobService struct {
   125  	ctrl     *gomock.Controller
   126  	recorder *MockOobServiceMockRecorder
   127  }
   128  
   129  // MockOobServiceMockRecorder is the mock recorder for MockOobService.
   130  type MockOobServiceMockRecorder struct {
   131  	mock *MockOobService
   132  }
   133  
   134  // NewMockOobService creates a new mock instance.
   135  func NewMockOobService(ctrl *gomock.Controller) *MockOobService {
   136  	mock := &MockOobService{ctrl: ctrl}
   137  	mock.recorder = &MockOobServiceMockRecorder{mock}
   138  	return mock
   139  }
   140  
   141  // EXPECT returns an object that allows the caller to indicate expected use.
   142  func (m *MockOobService) EXPECT() *MockOobServiceMockRecorder {
   143  	return m.recorder
   144  }
   145  
   146  // AcceptInvitation mocks base method.
   147  func (m *MockOobService) AcceptInvitation(arg0 *outofbandv2.Invitation, arg1 ...outofbandv2.AcceptOption) (string, error) {
   148  	m.ctrl.T.Helper()
   149  	varargs := []interface{}{arg0}
   150  	for _, a := range arg1 {
   151  		varargs = append(varargs, a)
   152  	}
   153  	ret := m.ctrl.Call(m, "AcceptInvitation", varargs...)
   154  	ret0, _ := ret[0].(string)
   155  	ret1, _ := ret[1].(error)
   156  	return ret0, ret1
   157  }
   158  
   159  // AcceptInvitation indicates an expected call of AcceptInvitation.
   160  func (mr *MockOobServiceMockRecorder) AcceptInvitation(arg0 interface{}, arg1 ...interface{}) *gomock.Call {
   161  	mr.mock.ctrl.T.Helper()
   162  	varargs := append([]interface{}{arg0}, arg1...)
   163  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AcceptInvitation", reflect.TypeOf((*MockOobService)(nil).AcceptInvitation), varargs...)
   164  }
   165  
   166  // SaveInvitation mocks base method.
   167  func (m *MockOobService) SaveInvitation(arg0 *outofbandv2.Invitation) error {
   168  	m.ctrl.T.Helper()
   169  	ret := m.ctrl.Call(m, "SaveInvitation", arg0)
   170  	ret0, _ := ret[0].(error)
   171  	return ret0
   172  }
   173  
   174  // SaveInvitation indicates an expected call of SaveInvitation.
   175  func (mr *MockOobServiceMockRecorder) SaveInvitation(arg0 interface{}) *gomock.Call {
   176  	mr.mock.ctrl.T.Helper()
   177  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SaveInvitation", reflect.TypeOf((*MockOobService)(nil).SaveInvitation), arg0)
   178  }