代码拉取完成,页面将自动刷新
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import amcl "github.com/hyperledger/fabric-amcl/amcl"
import db "github.com/hyperledger/fabric-ca/lib/server/db"
import idemix "github.com/hyperledger/fabric-ca/lib/server/idemix"
import mock "github.com/stretchr/testify/mock"
// MyIssuer is an autogenerated mock type for the MyIssuer type
type MyIssuer struct {
mock.Mock
}
// Config provides a mock function with given fields:
func (_m *MyIssuer) Config() *idemix.Config {
ret := _m.Called()
var r0 *idemix.Config
if rf, ok := ret.Get(0).(func() *idemix.Config); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*idemix.Config)
}
}
return r0
}
// CredDBAccessor provides a mock function with given fields:
func (_m *MyIssuer) CredDBAccessor() idemix.CredDBAccessor {
ret := _m.Called()
var r0 idemix.CredDBAccessor
if rf, ok := ret.Get(0).(func() idemix.CredDBAccessor); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(idemix.CredDBAccessor)
}
}
return r0
}
// DB provides a mock function with given fields:
func (_m *MyIssuer) DB() db.FabricCADB {
ret := _m.Called()
var r0 db.FabricCADB
if rf, ok := ret.Get(0).(func() db.FabricCADB); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(db.FabricCADB)
}
}
return r0
}
// HomeDir provides a mock function with given fields:
func (_m *MyIssuer) HomeDir() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// IdemixLib provides a mock function with given fields:
func (_m *MyIssuer) IdemixLib() idemix.Lib {
ret := _m.Called()
var r0 idemix.Lib
if rf, ok := ret.Get(0).(func() idemix.Lib); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(idemix.Lib)
}
}
return r0
}
// IdemixRand provides a mock function with given fields:
func (_m *MyIssuer) IdemixRand() *amcl.RAND {
ret := _m.Called()
var r0 *amcl.RAND
if rf, ok := ret.Get(0).(func() *amcl.RAND); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*amcl.RAND)
}
}
return r0
}
// IssuerCredential provides a mock function with given fields:
func (_m *MyIssuer) IssuerCredential() idemix.IssuerCredential {
ret := _m.Called()
var r0 idemix.IssuerCredential
if rf, ok := ret.Get(0).(func() idemix.IssuerCredential); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(idemix.IssuerCredential)
}
}
return r0
}
// Name provides a mock function with given fields:
func (_m *MyIssuer) Name() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// NonceManager provides a mock function with given fields:
func (_m *MyIssuer) NonceManager() idemix.NonceManager {
ret := _m.Called()
var r0 idemix.NonceManager
if rf, ok := ret.Get(0).(func() idemix.NonceManager); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(idemix.NonceManager)
}
}
return r0
}
// RevocationAuthority provides a mock function with given fields:
func (_m *MyIssuer) RevocationAuthority() idemix.RevocationAuthority {
ret := _m.Called()
var r0 idemix.RevocationAuthority
if rf, ok := ret.Get(0).(func() idemix.RevocationAuthority); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(idemix.RevocationAuthority)
}
}
return r0
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。