forked from snyk/driftctl
/
mock_loadBalancerRulesClient.go
44 lines (34 loc) · 1.45 KB
/
mock_loadBalancerRulesClient.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
// Code generated by mockery v2.28.1. DO NOT EDIT.
package repository
import (
armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
mock "github.com/stretchr/testify/mock"
)
// mockLoadBalancerRulesClient is an autogenerated mock type for the loadBalancerRulesClient type
type mockLoadBalancerRulesClient struct {
mock.Mock
}
// List provides a mock function with given fields: _a0, _a1, _a2
func (_m *mockLoadBalancerRulesClient) List(_a0 string, _a1 string, _a2 *armnetwork.LoadBalancerLoadBalancingRulesListOptions) loadBalancerRulesListAllPager {
ret := _m.Called(_a0, _a1, _a2)
var r0 loadBalancerRulesListAllPager
if rf, ok := ret.Get(0).(func(string, string, *armnetwork.LoadBalancerLoadBalancingRulesListOptions) loadBalancerRulesListAllPager); ok {
r0 = rf(_a0, _a1, _a2)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(loadBalancerRulesListAllPager)
}
}
return r0
}
type mockConstructorTestingTnewMockLoadBalancerRulesClient interface {
mock.TestingT
Cleanup(func())
}
// newMockLoadBalancerRulesClient creates a new instance of mockLoadBalancerRulesClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func newMockLoadBalancerRulesClient(t mockConstructorTestingTnewMockLoadBalancerRulesClient) *mockLoadBalancerRulesClient {
mock := &mockLoadBalancerRulesClient{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}