Tests/Private/Get-RandomQuote.tests.ps1
# Module: TeamsFunctions # Function: Test # Author: David Eberhardt # Updated: 05-AUG-2022 InModuleScope TeamsFunctions { BeforeAll { # } Describe -Tags ('Unit', 'Acceptance') "Function 'Get-ParentDirectoryPath'" { It 'should return a string' { $(Get-RandomQuote) | Should -BeOfType [string] } It 'should not return nothing' { $(Get-RandomQuote) | Should -Not -BeNullOrEmpty } } } |