diff --git a/Tests/Public/Get-ZALicense.Tests.ps1 b/Tests/Public/Get-ZALicense.Tests.ps1 index e6e6083..c7e8462 100644 --- a/Tests/Public/Get-ZALicense.Tests.ps1 +++ b/Tests/Public/Get-ZALicense.Tests.ps1 @@ -5,7 +5,9 @@ $global:function = ((Split-Path -leaf $MyInvocation.MyCommand.Path).Split('.'))[ Describe $global:function -Tag 'Unit', 'Source', 'Built' { Context "$global:function::Parameter Unit Tests" { - + it "$global:function should have exactly 11 parameters defined" { + (get-command $global:function).Parameters.Count | Should -Be 11 + } } Context "$global:function::Parameter Functional Tests" {