forked from yandex/pandora
/
ammo.go
50 lines (41 loc) · 982 Bytes
/
ammo.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
47
48
49
50
// Code generated by mockery v1.0.0
package ammomock
import "net/http"
import "github.com/stretchr/testify/mock"
import "github.com/yandex/pandora/core/aggregate/netsample"
// Ammo is an autogenerated mock type for the Ammo type
type Ammo struct {
mock.Mock
}
// Id provides a mock function with given fields:
func (_m *Ammo) Id() int {
ret := _m.Called()
var r0 int
if rf, ok := ret.Get(0).(func() int); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(int)
}
return r0
}
// Request provides a mock function with given fields:
func (_m *Ammo) Request() (*http.Request, *netsample.Sample) {
ret := _m.Called()
var r0 *http.Request
if rf, ok := ret.Get(0).(func() *http.Request); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*http.Request)
}
}
var r1 *netsample.Sample
if rf, ok := ret.Get(1).(func() *netsample.Sample); ok {
r1 = rf()
} else {
if ret.Get(1) != nil {
r1 = ret.Get(1).(*netsample.Sample)
}
}
return r0, r1
}