mocks

package
v0.73.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStatsService

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

MockStatsService is a mock of StatsService interface.

func NewMockStatsService

func NewMockStatsService(ctrl *gomock.Controller) *MockStatsService

NewMockStatsService creates a new mock instance.

func (*MockStatsService) EXPECT

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

func (*MockStatsService) SetHeight

func (m *MockStatsService) SetHeight(arg0 uint64)

SetHeight mocks base method.

type MockStatsServiceMockRecorder

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

MockStatsServiceMockRecorder is the mock recorder for MockStatsService.

func (*MockStatsServiceMockRecorder) SetHeight

func (mr *MockStatsServiceMockRecorder) SetHeight(arg0 interface{}) *gomock.Call

SetHeight indicates an expected call of SetHeight.

type MockTimeService

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

MockTimeService is a mock of TimeService interface.

func NewMockTimeService

func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService

NewMockTimeService creates a new mock instance.

func (*MockTimeService) EXPECT

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

func (*MockTimeService) GetTimeNow

func (m *MockTimeService) GetTimeNow() time.Time

GetTimeNow mocks base method.

func (*MockTimeService) SetTimeNow

func (m *MockTimeService) SetTimeNow(arg0 context.Context, arg1 time.Time)

SetTimeNow mocks base method.

type MockTimeServiceMockRecorder

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

MockTimeServiceMockRecorder is the mock recorder for MockTimeService.

func (*MockTimeServiceMockRecorder) GetTimeNow

func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call

GetTimeNow indicates an expected call of GetTimeNow.

func (*MockTimeServiceMockRecorder) SetTimeNow

func (mr *MockTimeServiceMockRecorder) SetTimeNow(arg0, arg1 interface{}) *gomock.Call

SetTimeNow indicates an expected call of SetTimeNow.

Jump to

Keyboard shortcuts

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