mock_auth

package
v0.0.0-...-f2e39e4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_auth is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUser

type MockUser struct {
	// contains filtered or unexported fields
}

MockUser is a mock of User interface

func NewMockUser

func NewMockUser(ctrl *gomock.Controller) *MockUser

NewMockUser creates a new mock instance

func (*MockUser) EXPECT

func (m *MockUser) EXPECT() *MockUserMockRecorder

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

func (*MockUser) GetAssessmentScope

func (m *MockUser) GetAssessmentScope() (string, bool)

GetAssessmentScope mocks base method

func (*MockUser) IsBeneficiary

func (m *MockUser) IsBeneficiary() bool

IsBeneficiary mocks base method

func (*MockUser) IsSuperUser

func (m *MockUser) IsSuperUser(arg0 string) bool

IsSuperUser mocks base method

func (*MockUser) Organisation

func (m *MockUser) Organisation() (string, error)

Organisation mocks base method

func (*MockUser) Organisations

func (m *MockUser) Organisations() []string

Organisations mocks base method

func (*MockUser) UserID

func (m *MockUser) UserID() string

UserID mocks base method

type MockUserMockRecorder

type MockUserMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserMockRecorder is the mock recorder for MockUser

func (*MockUserMockRecorder) GetAssessmentScope

func (mr *MockUserMockRecorder) GetAssessmentScope() *gomock.Call

GetAssessmentScope indicates an expected call of GetAssessmentScope

func (*MockUserMockRecorder) IsBeneficiary

func (mr *MockUserMockRecorder) IsBeneficiary() *gomock.Call

IsBeneficiary indicates an expected call of IsBeneficiary

func (*MockUserMockRecorder) IsSuperUser

func (mr *MockUserMockRecorder) IsSuperUser(arg0 interface{}) *gomock.Call

IsSuperUser indicates an expected call of IsSuperUser

func (*MockUserMockRecorder) Organisation

func (mr *MockUserMockRecorder) Organisation() *gomock.Call

Organisation indicates an expected call of Organisation

func (*MockUserMockRecorder) Organisations

func (mr *MockUserMockRecorder) Organisations() *gomock.Call

Organisations indicates an expected call of Organisations

func (*MockUserMockRecorder) UserID

func (mr *MockUserMockRecorder) UserID() *gomock.Call

UserID indicates an expected call of UserID

Jump to

Keyboard shortcuts

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