Public/Convert/Convert-ARGBToHex.Tests.ps1

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

      }

 }