public void GetObjectOfNonExistingPathThrows(string path) { Assert.Throws<CmdletInvocationException>(delegate { Shell.Execute(GetCmisObjectCmd + path); }); }