summaryrefslogtreecommitdiff
path: root/vendor/github.com/golang/mock/mockgen/tests/internal_pkg/subdir/internal/pkg/reflect_output/mock.go
blob: 47ccf0c5e9ad93d1ad63d92744d56b8fc2299657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/golang/mock/mockgen/tests/internal_pkg/subdir/internal/pkg (interfaces: Intf)

// Package mock_pkg is a generated GoMock package.
package mock_pkg

import (
	gomock "github.com/golang/mock/gomock"
	pkg "github.com/golang/mock/mockgen/tests/internal_pkg/subdir/internal/pkg"
	reflect "reflect"
)

// MockIntf is a mock of Intf interface
type MockIntf struct {
	ctrl     *gomock.Controller
	recorder *MockIntfMockRecorder
}

// MockIntfMockRecorder is the mock recorder for MockIntf
type MockIntfMockRecorder struct {
	mock *MockIntf
}

// NewMockIntf creates a new mock instance
func NewMockIntf(ctrl *gomock.Controller) *MockIntf {
	mock := &MockIntf{ctrl: ctrl}
	mock.recorder = &MockIntfMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockIntf) EXPECT() *MockIntfMockRecorder {
	return m.recorder
}

// F mocks base method
func (m *MockIntf) F() pkg.Arg {
	ret := m.ctrl.Call(m, "F")
	ret0, _ := ret[0].(pkg.Arg)
	return ret0
}

// F indicates an expected call of F
func (mr *MockIntfMockRecorder) F() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "F", reflect.TypeOf((*MockIntf)(nil).F))
}