-
Notifications
You must be signed in to change notification settings - Fork 0
/
mock_fromflags.go
46 lines (38 loc) · 1.32 KB
/
mock_fromflags.go
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: fromflags.go
// Package adminserver is a generated GoMock package.
package adminserver
import (
gomock "github.com/golang/mock/gomock"
proc "github.com/turbinelabs/nonstdlib/proc"
reflect "reflect"
)
// MockFromFlags is a mock of FromFlags interface
type MockFromFlags struct {
ctrl *gomock.Controller
recorder *MockFromFlagsMockRecorder
}
// MockFromFlagsMockRecorder is the mock recorder for MockFromFlags
type MockFromFlagsMockRecorder struct {
mock *MockFromFlags
}
// NewMockFromFlags creates a new mock instance
func NewMockFromFlags(ctrl *gomock.Controller) *MockFromFlags {
mock := &MockFromFlags{ctrl: ctrl}
mock.recorder = &MockFromFlagsMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockFromFlags) EXPECT() *MockFromFlagsMockRecorder {
return m.recorder
}
// Make mocks base method
func (m *MockFromFlags) Make(managedProc proc.ManagedProc) AdminServer {
ret := m.ctrl.Call(m, "Make", managedProc)
ret0, _ := ret[0].(AdminServer)
return ret0
}
// Make indicates an expected call of Make
func (mr *MockFromFlagsMockRecorder) Make(managedProc interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Make", reflect.TypeOf((*MockFromFlags)(nil).Make), managedProc)
}