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

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