mocks

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecurityService

type SecurityService struct {
	mock.Mock
}

SecurityService is an autogenerated mock type for the SecurityService type

func NewSecurityService added in v3.4.0

func NewSecurityService(t testing.TB) *SecurityService

NewSecurityService creates a new instance of SecurityService. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*SecurityService) IsGranted

func (_m *SecurityService) IsGranted(_a0 context.Context, _a1 *web.Session, _a2 string, _a3 interface{}) bool

IsGranted provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*SecurityService) IsLoggedIn

func (_m *SecurityService) IsLoggedIn(_a0 context.Context, _a1 *web.Session) bool

IsLoggedIn provides a mock function with given fields: _a0, _a1

func (*SecurityService) IsLoggedOut

func (_m *SecurityService) IsLoggedOut(_a0 context.Context, _a1 *web.Session) bool

IsLoggedOut provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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