mock

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: GPL-3.0 Imports: 4 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.ContractTemplate, error)

ContractByType mocks base method

func (*MockAuthClient) ContractSessionStatus

func (m *MockAuthClient) ContractSessionStatus(sessionID string) (*pkg.SessionStatusResult, error)

ContractSessionStatus mocks base method

func (*MockAuthClient) CreateAccessToken added in v0.13.0

func (m *MockAuthClient) CreateAccessToken(request pkg.CreateAccessTokenRequest) (*pkg.AccessTokenResponse, error)

CreateAccessToken mocks base method

func (*MockAuthClient) CreateContractSession

func (m *MockAuthClient) CreateContractSession(sessionRequest pkg.CreateSessionRequest) (*pkg.CreateSessionResult, error)

CreateContractSession mocks base method

func (*MockAuthClient) CreateJwtBearerToken added in v0.13.0

func (m *MockAuthClient) CreateJwtBearerToken(request pkg.CreateJwtBearerTokenRequest) (*pkg.JwtBearerTokenResponse, error)

CreateJwtBearerToken mocks base method

func (*MockAuthClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAuthClient) IntrospectAccessToken added in v0.13.0

func (m *MockAuthClient) IntrospectAccessToken(token string) (*pkg.NutsAccessToken, error)

IntrospectAccessToken mocks base method

func (*MockAuthClient) KeyExistsFor added in v0.13.0

func (m *MockAuthClient) KeyExistsFor(legalEntity core.PartyID) bool

KeyExistsFor mocks base method

func (*MockAuthClient) OrganizationNameByID added in v0.13.0

func (m *MockAuthClient) OrganizationNameByID(legalEntity core.PartyID) (string, error)

OrganizationNameByID mocks base method

func (*MockAuthClient) ValidateContract

func (m *MockAuthClient) ValidateContract(request pkg.ValidationRequest) (*pkg.ContractValidationResult, 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) CreateAccessToken added in v0.13.0

func (mr *MockAuthClientMockRecorder) CreateAccessToken(request interface{}) *gomock.Call

CreateAccessToken indicates an expected call of CreateAccessToken

func (*MockAuthClientMockRecorder) CreateContractSession

func (mr *MockAuthClientMockRecorder) CreateContractSession(sessionRequest interface{}) *gomock.Call

CreateContractSession indicates an expected call of CreateContractSession

func (*MockAuthClientMockRecorder) CreateJwtBearerToken added in v0.13.0

func (mr *MockAuthClientMockRecorder) CreateJwtBearerToken(request interface{}) *gomock.Call

CreateJwtBearerToken indicates an expected call of CreateJwtBearerToken

func (*MockAuthClientMockRecorder) IntrospectAccessToken added in v0.13.0

func (mr *MockAuthClientMockRecorder) IntrospectAccessToken(token interface{}) *gomock.Call

IntrospectAccessToken indicates an expected call of IntrospectAccessToken

func (*MockAuthClientMockRecorder) KeyExistsFor added in v0.13.0

func (mr *MockAuthClientMockRecorder) KeyExistsFor(legalEntity interface{}) *gomock.Call

KeyExistsFor indicates an expected call of KeyExistsFor

func (*MockAuthClientMockRecorder) OrganizationNameByID added in v0.13.0

func (mr *MockAuthClientMockRecorder) OrganizationNameByID(legalEntity interface{}) *gomock.Call

OrganizationNameByID indicates an expected call of OrganizationNameByID

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