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

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