forked from choria-legacy/go-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmutator_mock_test.go
43 lines (35 loc) · 1.17 KB
/
mutator_mock_test.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
// Code generated by MockGen. DO NOT EDIT.
// Source: mutators.go
package config
import (
gomock "github.com/golang/mock/gomock"
logrus "github.com/sirupsen/logrus"
reflect "reflect"
)
// MockMutator is a mock of Mutator interface
type MockMutator struct {
ctrl *gomock.Controller
recorder *MockMutatorMockRecorder
}
// MockMutatorMockRecorder is the mock recorder for MockMutator
type MockMutatorMockRecorder struct {
mock *MockMutator
}
// NewMockMutator creates a new mock instance
func NewMockMutator(ctrl *gomock.Controller) *MockMutator {
mock := &MockMutator{ctrl: ctrl}
mock.recorder = &MockMutatorMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockMutator) EXPECT() *MockMutatorMockRecorder {
return m.recorder
}
// Mutate mocks base method
func (m *MockMutator) Mutate(arg0 *Config, arg1 *logrus.Entry) {
m.ctrl.Call(m, "Mutate", arg0, arg1)
}
// Mutate indicates an expected call of Mutate
func (mr *MockMutatorMockRecorder) Mutate(arg0, arg1 interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Mutate", reflect.TypeOf((*MockMutator)(nil).Mutate), arg0, arg1)
}