mocks

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mapper

type Mapper struct {
	mock.Mock
}

Mapper is an autogenerated mock type for the Mapper type

func NewMapper

func NewMapper(t mockConstructorTestingTNewMapper) *Mapper

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

func (*Mapper) Build

func (_m *Mapper) Build() (map[string]*resourcemap.Bundle, error)

Build provides a mock function with given fields:

func (*Mapper) EXPECT

func (_m *Mapper) EXPECT() *Mapper_Expecter

type Mapper_Build_Call

type Mapper_Build_Call struct {
	*mock.Call
}

Mapper_Build_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Build'

func (*Mapper_Build_Call) Return

func (*Mapper_Build_Call) Run

func (_c *Mapper_Build_Call) Run(run func()) *Mapper_Build_Call

func (*Mapper_Build_Call) RunAndReturn

func (_c *Mapper_Build_Call) RunAndReturn(run func() (map[string]*resourcemap.Bundle, error)) *Mapper_Build_Call

type Mapper_Expecter

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

func (*Mapper_Expecter) Build

func (_e *Mapper_Expecter) Build() *Mapper_Build_Call

Build is a helper method to define mock.On call

Jump to

Keyboard shortcuts

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