driftctl/pkg/remote/azurerm/repository/mock_privateDNSZoneListPage...

59 lines
1.3 KiB
Go

// Code generated by mockery v0.0.0-dev. DO NOT EDIT.
package repository
import (
context "context"
armprivatedns "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/privatedns/armprivatedns"
mock "github.com/stretchr/testify/mock"
)
// mockPrivateDNSZoneListPager is an autogenerated mock type for the privateDNSZoneListPager type
type mockPrivateDNSZoneListPager struct {
mock.Mock
}
// Err provides a mock function with given fields:
func (_m *mockPrivateDNSZoneListPager) 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 *mockPrivateDNSZoneListPager) 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 *mockPrivateDNSZoneListPager) PageResponse() armprivatedns.PrivateZonesListResponse {
ret := _m.Called()
var r0 armprivatedns.PrivateZonesListResponse
if rf, ok := ret.Get(0).(func() armprivatedns.PrivateZonesListResponse); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(armprivatedns.PrivateZonesListResponse)
}
return r0
}