mocks

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 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 MockFunctionCallAssembler

type MockFunctionCallAssembler struct {
	mock.Mock
}

MockFunctionCallAssembler is an autogenerated mock type for the FunctionCallAssembler type

func NewMockFunctionCallAssembler

func NewMockFunctionCallAssembler(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockFunctionCallAssembler

NewMockFunctionCallAssembler creates a new instance of MockFunctionCallAssembler. 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 (*MockFunctionCallAssembler) Assemble

func (_mock *MockFunctionCallAssembler) Assemble(args functioncall.Args) (string, error)

Assemble provides a mock function for the type MockFunctionCallAssembler

func (*MockFunctionCallAssembler) EXPECT

type MockFunctionCallAssembler_Assemble_Call

type MockFunctionCallAssembler_Assemble_Call struct {
	*mock.Call
}

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

func (*MockFunctionCallAssembler_Assemble_Call) Return

func (*MockFunctionCallAssembler_Assemble_Call) Run

func (*MockFunctionCallAssembler_Assemble_Call) RunAndReturn

type MockFunctionCallAssembler_Expecter

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

func (*MockFunctionCallAssembler_Expecter) Assemble

Assemble is a helper method to define mock.On call

  • args functioncall.Args

Jump to

Keyboard shortcuts

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