mock

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL