From d0a75153adf8acf7bfcd59cc0c59526b35b6527e Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Mon, 1 Apr 2019 22:25:52 -0400 Subject: [PATCH] Start Function Tests --- Tests/Public/Export-ZertoVpg.Tests.ps1 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Tests/Public/Export-ZertoVpg.Tests.ps1 b/Tests/Public/Export-ZertoVpg.Tests.ps1 index 5f5afd9..ff084e2 100644 --- a/Tests/Public/Export-ZertoVpg.Tests.ps1 +++ b/Tests/Public/Export-ZertoVpg.Tests.ps1 @@ -48,6 +48,14 @@ Describe $file.BaseName -Tag 'Unit' { } Context "$($file.BaseName)::Function Unit Tests" { + Mock -ModuleName ZertoApiWrapper -CommandName Invoke-ZertoRestRequest { + } + + $outputPath = "TestDrive:\" + + it "Should Exist" { + $outputPath | Should -Exist + } } }