-
Notifications
You must be signed in to change notification settings - Fork 27
/
unsafe_chaos_dogfood_server_mock.go
68 lines (54 loc) · 2.75 KB
/
unsafe_chaos_dogfood_server_mock.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// Code generated by mockery. DO NOT EDIT.
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2024 Datadog, Inc.
package chaosdogfood
import mock "github.com/stretchr/testify/mock"
// UnsafeChaosDogfoodServerMock is an autogenerated mock type for the UnsafeChaosDogfoodServer type
type UnsafeChaosDogfoodServerMock struct {
mock.Mock
}
type UnsafeChaosDogfoodServerMock_Expecter struct {
mock *mock.Mock
}
func (_m *UnsafeChaosDogfoodServerMock) EXPECT() *UnsafeChaosDogfoodServerMock_Expecter {
return &UnsafeChaosDogfoodServerMock_Expecter{mock: &_m.Mock}
}
// mustEmbedUnimplementedChaosDogfoodServer provides a mock function with given fields:
func (_m *UnsafeChaosDogfoodServerMock) mustEmbedUnimplementedChaosDogfoodServer() {
_m.Called()
}
// UnsafeChaosDogfoodServerMock_mustEmbedUnimplementedChaosDogfoodServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedChaosDogfoodServer'
type UnsafeChaosDogfoodServerMock_mustEmbedUnimplementedChaosDogfoodServer_Call struct {
*mock.Call
}
// mustEmbedUnimplementedChaosDogfoodServer is a helper method to define mock.On call
func (_e *UnsafeChaosDogfoodServerMock_Expecter) mustEmbedUnimplementedChaosDogfoodServer() *UnsafeChaosDogfoodServerMock_mustEmbedUnimplementedChaosDogfoodServer_Call {
return &UnsafeChaosDogfoodServerMock_mustEmbedUnimplementedChaosDogfoodServer_Call{Call: _e.mock.On("mustEmbedUnimplementedChaosDogfoodServer")}
}
func (_c *UnsafeChaosDogfoodServerMock_mustEmbedUnimplementedChaosDogfoodServer_Call) Run(run func()) *UnsafeChaosDogfoodServerMock_mustEmbedUnimplementedChaosDogfoodServer_Call {
_c.Call.Run(func(args mock.Arguments) {
run()
})
return _c
}
func (_c *UnsafeChaosDogfoodServerMock_mustEmbedUnimplementedChaosDogfoodServer_Call) Return() *UnsafeChaosDogfoodServerMock_mustEmbedUnimplementedChaosDogfoodServer_Call {
_c.Call.Return()
return _c
}
func (_c *UnsafeChaosDogfoodServerMock_mustEmbedUnimplementedChaosDogfoodServer_Call) RunAndReturn(run func()) *UnsafeChaosDogfoodServerMock_mustEmbedUnimplementedChaosDogfoodServer_Call {
_c.Call.Return(run)
return _c
}
// NewUnsafeChaosDogfoodServerMock creates a new instance of UnsafeChaosDogfoodServerMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewUnsafeChaosDogfoodServerMock(t interface {
mock.TestingT
Cleanup(func())
}) *UnsafeChaosDogfoodServerMock {
mock := &UnsafeChaosDogfoodServerMock{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}