Public/Remove/Remove-ISETheme.Tests.ps1
$function = Get-Command -Name Remove-ISETheme Describe 'Remove-ISETheme Tests' { Context 'Parameters for Remove-ISETheme'{ It 'Has a parameter called ThemeName' { $function.Parameters.Keys.Contains('ThemeName') | Should Be 'True' } It 'ThemeName Parameter is Correctly Identified as being Mandatory' { $function.Parameters.ThemeName.Attributes.Mandatory | Should be 'False' } It 'ThemeName Parameter is of String Type' { $function.Parameters.ThemeName.ParameterType.FullName | Should be 'System.String' } } } |