public void UpdateNonExistingObjectThrows() { Assert.Throws<CmdletInvocationException>(delegate { Shell.Execute(UpdateCmisObjectCmd + " __not/existing -Name 'bar'"); }); }