public void ShouldReturnFalseIfItContainsAnError() { PowershellHelpers.Validate(@"param(a,)") .Should() .Be .False(); }
public void ShouldReturnTrueIfValid() { PowershellHelpers.Validate(@"Write-Host $PsVersion") .Should() .Be .True(); }