59 lines
1.2 KiB
Go
59 lines
1.2 KiB
Go
// Code generated by mockery v0.0.0-dev. DO NOT EDIT.
|
|
|
|
package repository
|
|
|
|
import (
|
|
context "context"
|
|
|
|
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
|
|
|
|
mock "github.com/stretchr/testify/mock"
|
|
)
|
|
|
|
// mockSubnetsListPager is an autogenerated mock type for the subnetsListPager type
|
|
type mockSubnetsListPager struct {
|
|
mock.Mock
|
|
}
|
|
|
|
// Err provides a mock function with given fields:
|
|
func (_m *mockSubnetsListPager) Err() error {
|
|
ret := _m.Called()
|
|
|
|
var r0 error
|
|
if rf, ok := ret.Get(0).(func() error); ok {
|
|
r0 = rf()
|
|
} else {
|
|
r0 = ret.Error(0)
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// NextPage provides a mock function with given fields: ctx
|
|
func (_m *mockSubnetsListPager) NextPage(ctx context.Context) bool {
|
|
ret := _m.Called(ctx)
|
|
|
|
var r0 bool
|
|
if rf, ok := ret.Get(0).(func(context.Context) bool); ok {
|
|
r0 = rf(ctx)
|
|
} else {
|
|
r0 = ret.Get(0).(bool)
|
|
}
|
|
|
|
return r0
|
|
}
|
|
|
|
// PageResponse provides a mock function with given fields:
|
|
func (_m *mockSubnetsListPager) PageResponse() armnetwork.SubnetsListResponse {
|
|
ret := _m.Called()
|
|
|
|
var r0 armnetwork.SubnetsListResponse
|
|
if rf, ok := ret.Get(0).(func() armnetwork.SubnetsListResponse); ok {
|
|
r0 = rf()
|
|
} else {
|
|
r0 = ret.Get(0).(armnetwork.SubnetsListResponse)
|
|
}
|
|
|
|
return r0
|
|
}
|