gomocktest

package
v0.0.0-...-3bd7997 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package gomocktest 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 {
	A(int) string
}

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) A

func (m *MockFoo) A(arg0 int) string

A 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) A

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

A indicates an expected call of A.

Jump to

Keyboard shortcuts

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