Tests/Classes/OBNUser.tests.ps1

Describe "OBNUser class object tests" {
    Context "Class can be loaded" {
        It "Type definition can be loaded." {
            {
                . .\PSOnebyte\Classes\OBNUserClass.ps1
            } | Should Not Throw
        }
        It "Does not throw an error when instantiated" {
            {
                . .\PSOnebyte\Classes\OBNUserClass.ps1
                $null = New-Object OBNUser
            } | Should Not Throw
        }
    }
}