Functions/Get-JiraSession.Tests.ps1

$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
. "$here\$sut"

InModuleScope PSJira {
    Describe "Get-JiraSession" {
        It "Obtains a saved PSJira.Session object from module PrivateData" {
            # I don't know how to test this, since I can't access module PrivateData from Pester.
            # The tests for New-JiraSession use this function to validate that they work, so if
            # those tests pass, this function should be working as well.
            $true | Should Be $true
        }
    }
}