diff --git a/tests/tests/PSModuleTest.Tests.ps1 b/tests/tests/PSModuleTest.Tests.ps1 index 4a28ad9..6b6040d 100644 --- a/tests/tests/PSModuleTest.Tests.ps1 +++ b/tests/tests/PSModuleTest.Tests.ps1 @@ -29,6 +29,13 @@ Describe 'PSModuleTest.Tests.ps1' { } } + Context 'Function: Set-PSModuleTest' { + It 'Should be able to call the function' { + Write-Verbose (Set-PSModuleTest | Out-String) -Verbose + Set-PSModuleTest | Should -Be 'Hello, World!' + } + } + Context 'Variables' { It "Exports a variable for SolarSystems that contains 'Solar System'" { Write-Verbose ($SolarSystems | Out-String) -Verbose