mock

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 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 MockjsonNumber

type MockjsonNumber struct {
	mock.Mock
}

MockjsonNumber is an autogenerated mock type for the jsonNumber type

func NewMockjsonNumber

func NewMockjsonNumber(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockjsonNumber

NewMockjsonNumber creates a new instance of MockjsonNumber. 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 (*MockjsonNumber) EXPECT

func (*MockjsonNumber) String

func (_mock *MockjsonNumber) String() string

String provides a mock function for the type MockjsonNumber

type MockjsonNumber_Expecter

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

func (*MockjsonNumber_Expecter) String

String is a helper method to define mock.On call

type MockjsonNumber_String_Call

type MockjsonNumber_String_Call struct {
	*mock.Call
}

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

func (*MockjsonNumber_String_Call) Return

func (*MockjsonNumber_String_Call) Run

func (*MockjsonNumber_String_Call) RunAndReturn

func (_c *MockjsonNumber_String_Call) RunAndReturn(run func() string) *MockjsonNumber_String_Call

Jump to

Keyboard shortcuts

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