mocks

package
v1.13.8 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hash

type Hash struct {
	mock.Mock
}

Hash is an autogenerated mock type for the Hash type

func NewHash

func NewHash(t mockConstructorTestingTNewHash) *Hash

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

func (*Hash) Check

func (_m *Hash) Check(value string, hashedValue string) bool

Check provides a mock function with given fields: value, hashedValue

func (*Hash) Make

func (_m *Hash) Make(value string) (string, error)

Make provides a mock function with given fields: value

func (*Hash) NeedsRehash

func (_m *Hash) NeedsRehash(hashedValue string) bool

NeedsRehash provides a mock function with given fields: hashedValue

Jump to

Keyboard shortcuts

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