. $PSScriptRoot\..\..\Load-PesterModules.ps1 $here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path) -replace '\.tests\.', '.' $functionPath = Join-Path -Path $here -ChildPath $sut Write-Host "Overriding SUT: $functionPath" Import-Module $functionPath -Force $moduleForMock = "" Describe "Get-AppTierServices" { Context "Ensure that it returns some values" { $values = Get-AppTierServices It "should have some values" { $values | Should -Not -BeNullOrEmpty } } Context "Ensure that it does not throw" { { Get-AppTierServices } | Should -Not -Throw } }