Tests/Remove-SpecialChar.Tests.ps1

BeforeAll {
    . $PSScriptRoot\_InitializeTests.ps1
    . $ProjectRoot\SRC\private\Remove-SpecialChar.ps1
}

Describe Remove-SpecialChar {
    It "Should return string without SpecialChar" {
        Remove-SpecialChar -String "Problem&with()char" -SpecialChars "()[]{}&." | Should -Be 'Problemwithchar'
    }
}