Back to godoc.org

Package mock_gomock

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_gomock is a generated GoMock package.

Index

type MockMatcher

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

MockMatcher is a mock of Matcher interface

func NewMockMatcher

func NewMockMatcher(ctrl *gomock.Controller) *MockMatcher

NewMockMatcher creates a new mock instance

func (*MockMatcher) EXPECT

func (m *MockMatcher) EXPECT() *MockMatcherMockRecorder

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

func (*MockMatcher) Matches

func (m *MockMatcher) Matches(arg0 interface{}) bool

Matches mocks base method

func (*MockMatcher) String

func (m *MockMatcher) String() string

String mocks base method

type MockMatcherMockRecorder

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

MockMatcherMockRecorder is the mock recorder for MockMatcher

func (*MockMatcherMockRecorder) Matches

func (mr *MockMatcherMockRecorder) Matches(arg0 interface{}) *gomock.Call

Matches indicates an expected call of Matches

func (*MockMatcherMockRecorder) String

func (mr *MockMatcherMockRecorder) String() *gomock.Call

String indicates an expected call of String

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