Back to godoc.org

Package mock_concurrent

v1.4.4
Latest Go to latest

The latest major version is .

Published: Jul 28, 2020 | License: Apache-2.0 | Module: github.com/golang/mock

Overview

Package mock_concurrent is a generated GoMock package.

Index

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier