mock

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPI

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

MockAPI is a mock of API interface.

func NewMockAPI

func NewMockAPI(ctrl *gomock.Controller) *MockAPI

NewMockAPI creates a new mock instance.

func (*MockAPI) Changes

func (m *MockAPI) Changes(ctx context.Context, chainId string, opts ...celestials.ChangeOption) (celestials.Changes, error)

Changes mocks base method.

func (*MockAPI) EXPECT

func (m *MockAPI) EXPECT() *MockAPIMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockAPIChangesCall

type MockAPIChangesCall struct {
	*gomock.Call
}

MockAPIChangesCall wrap *gomock.Call

func (*MockAPIChangesCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPIChangesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPIChangesCall) Return

Return rewrite *gomock.Call.Return

type MockAPIMockRecorder

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

MockAPIMockRecorder is the mock recorder for MockAPI.

func (*MockAPIMockRecorder) Changes

func (mr *MockAPIMockRecorder) Changes(ctx, chainId any, opts ...any) *MockAPIChangesCall

Changes indicates an expected call of Changes.

Jump to

Keyboard shortcuts

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