mocks

package
v0.17.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hasher

type Hasher struct {
	mock.Mock
}

Hasher is an autogenerated mock type for the Hasher type

func NewHasher

func NewHasher(t interface {
	mock.TestingT
	Cleanup(func())
}) *Hasher

NewHasher creates a new instance of Hasher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Hasher) CompareWith

func (_m *Hasher) CompareWith(plain string, _a1 string) bool

CompareWith provides a mock function with given fields: plain, _a1

func (*Hasher) Do

func (_m *Hasher) Do(plain string) (string, error)

Do provides a mock function with given fields: plain

Jump to

Keyboard shortcuts

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