forked from flyteorg/flytepropeller
/
Mutable.go
42 lines (32 loc) · 869 Bytes
/
Mutable.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
// Code generated by mockery v1.0.1. DO NOT EDIT.
package mocks
import mock "github.com/stretchr/testify/mock"
// Mutable is an autogenerated mock type for the Mutable type
type Mutable struct {
mock.Mock
}
type Mutable_IsDirty struct {
*mock.Call
}
func (_m Mutable_IsDirty) Return(_a0 bool) *Mutable_IsDirty {
return &Mutable_IsDirty{Call: _m.Call.Return(_a0)}
}
func (_m *Mutable) OnIsDirty() *Mutable_IsDirty {
c := _m.On("IsDirty")
return &Mutable_IsDirty{Call: c}
}
func (_m *Mutable) OnIsDirtyMatch(matchers ...interface{}) *Mutable_IsDirty {
c := _m.On("IsDirty", matchers...)
return &Mutable_IsDirty{Call: c}
}
// IsDirty provides a mock function with given fields:
func (_m *Mutable) IsDirty() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}