Dependencies/Axiom/Verify-Null.ps1
function Verify-Null { param ( [Parameter(ValueFromPipeline=$true)] $Actual ) if ($null -ne $Actual) { throw [Exception]"Expected `$null but got '$Actual'." } $Actual } |
function Verify-Null { param ( [Parameter(ValueFromPipeline=$true)] $Actual ) if ($null -ne $Actual) { throw [Exception]"Expected `$null but got '$Actual'." } $Actual } |