package mock_concurrent
import "github.com/golang/mock/sample/concurrent/mock"
Package mock_concurrent is a generated GoMock package.
Index ¶
- type MockMath
- func NewMockMath(ctrl *gomock.Controller) *MockMath
- func (m *MockMath) EXPECT() *MockMathMockRecorder
- func (m *MockMath) Sum(arg0, arg1 int) int
- type MockMathMockRecorder
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 ¶
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 ¶
- Version
- v1.4.0
- Published
- Jan 20, 2020
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 21 minutes ago –
Tools for package owners.