Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAuthClient
- func (m *MockAuthClient) ContractByType(contractType pkg.ContractType, language pkg.Language, version pkg.Version) (*pkg.Contract, error)
- func (m *MockAuthClient) ContractSessionStatus(sessionID string) (*pkg.SessionStatusResult, error)
- func (m *MockAuthClient) CreateContractSession(sessionRequest pkg.CreateSessionRequest, actingParty string) (*pkg.CreateSessionResult, error)
- func (m *MockAuthClient) EXPECT() *MockAuthClientMockRecorder
- func (m *MockAuthClient) ValidateContract(request pkg.ValidationRequest) (*pkg.ValidationResult, error)
- type MockAuthClientMockRecorder
- func (mr *MockAuthClientMockRecorder) ContractByType(contractType, language, version interface{}) *gomock.Call
- func (mr *MockAuthClientMockRecorder) ContractSessionStatus(sessionID interface{}) *gomock.Call
- func (mr *MockAuthClientMockRecorder) CreateContractSession(sessionRequest, actingParty interface{}) *gomock.Call
- func (mr *MockAuthClientMockRecorder) ValidateContract(request interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthClient ¶
type MockAuthClient struct {
// contains filtered or unexported fields
}
MockAuthClient is a mock of AuthClient interface
func NewMockAuthClient ¶
func NewMockAuthClient(ctrl *gomock.Controller) *MockAuthClient
NewMockAuthClient creates a new mock instance
func (*MockAuthClient) ContractByType ¶
func (m *MockAuthClient) ContractByType(contractType pkg.ContractType, language pkg.Language, version pkg.Version) (*pkg.Contract, error)
ContractByType mocks base method
func (*MockAuthClient) ContractSessionStatus ¶
func (m *MockAuthClient) ContractSessionStatus(sessionID string) (*pkg.SessionStatusResult, error)
ContractSessionStatus mocks base method
func (*MockAuthClient) CreateContractSession ¶
func (m *MockAuthClient) CreateContractSession(sessionRequest pkg.CreateSessionRequest, actingParty string) (*pkg.CreateSessionResult, error)
CreateContractSession mocks base method
func (*MockAuthClient) EXPECT ¶
func (m *MockAuthClient) EXPECT() *MockAuthClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthClient) ValidateContract ¶
func (m *MockAuthClient) ValidateContract(request pkg.ValidationRequest) (*pkg.ValidationResult, error)
ValidateContract mocks base method
type MockAuthClientMockRecorder ¶
type MockAuthClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthClientMockRecorder is the mock recorder for MockAuthClient
func (*MockAuthClientMockRecorder) ContractByType ¶
func (mr *MockAuthClientMockRecorder) ContractByType(contractType, language, version interface{}) *gomock.Call
ContractByType indicates an expected call of ContractByType
func (*MockAuthClientMockRecorder) ContractSessionStatus ¶
func (mr *MockAuthClientMockRecorder) ContractSessionStatus(sessionID interface{}) *gomock.Call
ContractSessionStatus indicates an expected call of ContractSessionStatus
func (*MockAuthClientMockRecorder) CreateContractSession ¶
func (mr *MockAuthClientMockRecorder) CreateContractSession(sessionRequest, actingParty interface{}) *gomock.Call
CreateContractSession indicates an expected call of CreateContractSession
func (*MockAuthClientMockRecorder) ValidateContract ¶
func (mr *MockAuthClientMockRecorder) ValidateContract(request interface{}) *gomock.Call
ValidateContract indicates an expected call of ValidateContract