tests/TMD.Certificates.Tests.ps1

BeforeAll {
    # Import the module file
    if (Get-Module 'TMD.Common') {
        Remove-Module 'TMD.Common' -Force
    }
    Import-Module "TMD.Common" -Force
}

Describe 'Get-RemoteSSLCertificate' {
    It 'Outputs the correct type' {
        # $Cert = Get-RemoteSSLCertificate -ComputerName $env:COMPUTERNAME
        # $Cert | Should -BeOfType 'System.Security.Cryptography.X509Certificates.X509Certificate2'
    }
}