How do I unit test this custom commandlet How do I unit test this custom commandlet powershell powershell

How do I unit test this custom commandlet


Ok, I think I see the issue. Your parameter is an int, int's aren't null, and they are never empty. I suggest validating that the Value of the parameter is not zero, or to make it an int? or Nullable