# File lib/specinfra/command/windows/base/firewall.rb, line 18
    def check_has_protocol(displayName, protocol)
      cmd = "((Get-NetFirewallRule -DisplayName '#{displayName}') | Get-NetFirewallPortFilter | where {$_.Protocol -eq '#{protocol}'}) -ne $null"
      create_command cmd
    end