PSCredentialStore/tests/PfxCertificate/60_Test-CSPfxCertificate.Tests.ps1
2019-04-08 15:56:27 +02:00

11 lines
403 B
PowerShell

Describe "Test-CSPfxCertificate" {
Context "Basic Tests" {
It "Should not Throw" {
{ Test-CSPfxCertificate -Thumbprint '12345' -StoreName My -StoreLocation CurrentUser } | Should -Not -Throw
}
It "Should return false" {
Test-CSPfxCertificate -Thumbprint '12345' -StoreName My -StoreLocation CurrentUser | Should -Be $false
}
}
}