public void GetWFThrowsIfNotConnected() { Assert.Throws<CmdletInvocationException>(delegate { Shell.Execute(GetCmisWorkingFolderCmd); }); }