diff --git a/Tests/Public/Import-ZertoVmNicSetting.Tests.ps1 b/Tests/Public/Import-ZertoVmNicSetting.Tests.ps1 index a499b6a..ce84a86 100644 --- a/Tests/Public/Import-ZertoVmNicSetting.Tests.ps1 +++ b/Tests/Public/Import-ZertoVmNicSetting.Tests.ps1 @@ -5,6 +5,10 @@ $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 14 + } + It "Has a mandatory string array parameter for the settings file to import" { Get-Command $global:function | Should -HaveParameter InputFile Get-Command $global:function | Should -HaveParameter InputFile -Mandatory