Tests/ConvertFrom-SIDToDomainUser.Tests.ps1

<# Get-Module JBOADS | Remove-Module -Force
cd ..
Import-Module .\JBOADS.psm1 -Force
cd tests
$FunctionName = ($MyInvocation.MyCommand.Name).Split(".")[0]
$JsonMockData = Get-Content -Path .\JBOADS\Tests\MockedTestObjects.json -Raw
$Mocks = ConvertFrom-Json $JsonMockData
 
Describe "$FunctionName Tests" {
 
    Context 'Function Output' {
        $ContextMock = $Mocks.'Find-DisabledAccount'.Dataset
        Mock 'Find-DisabledAccount' -MockWith { $ContextMock }
 
        It 'returns the correct output' {
            (Find-DisabledAccount).Name | Should -Be $mocks.'Find-DisabledAccount'.Dataset.Name
        }
    }
}
 #>