Can Pester mock an exception? Can Pester mock an exception? powershell powershell