mocking

package
v0.0.0-...-516085e Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mocking is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Foo

type Foo interface {
	Do(int) int
}

type MockFoo

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

MockFoo is a mock of Foo interface

func NewMockFoo

func NewMockFoo(ctrl *gomock.Controller) *MockFoo

NewMockFoo creates a new mock instance

func (*MockFoo) Do

func (m *MockFoo) Do(arg0 int) int

Do mocks base method

func (*MockFoo) EXPECT

func (m *MockFoo) EXPECT() *MockFooMockRecorder

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

type MockFooMockRecorder

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

MockFooMockRecorder is the mock recorder for MockFoo

func (*MockFooMockRecorder) Do

func (mr *MockFooMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do

Jump to

Keyboard shortcuts

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