package mock_concurrent

import "github.com/golang/mock/sample/concurrent/mock"

Package mock_concurrent is a generated GoMock package.

Index

Types

type MockMath

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

MockMath is a mock of Math interface.

func NewMockMath

func NewMockMath(ctrl *gomock.Controller) *MockMath

NewMockMath creates a new mock instance.

func (*MockMath) EXPECT

func (m *MockMath) EXPECT() *MockMathMockRecorder

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

func (*MockMath) Sum

func (m *MockMath) Sum(arg0, arg1 int) int

Sum mocks base method.

type MockMathMockRecorder

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

MockMathMockRecorder is the mock recorder for MockMath.

func (*MockMathMockRecorder) Sum

func (mr *MockMathMockRecorder) Sum(arg0, arg1 interface{}) *gomock.Call

Sum indicates an expected call of Sum.

Source Files

concurrent_mock.go

Version
v1.6.0 (latest)
Published
Jun 11, 2021
Platform
js/wasm
Imports
2 packages
Last checked
7 minutes ago

Tools for package owners.