Private/MockWrappers.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
# The functions in this file exist solely to allow
# easier mocking in Pester tests.

function Get-LookupClient {
    [OutputType([DnsClient.LookupClient])]
    $script:Client
}

function Get-LookupClientOptions {
    [OutputType([DnsClient.LookupClientOptions])]
    $script:ClientOptions
}