public void CreatingDocumentAtExistingPathThrows() { CmisHelper.CreateTempDocument("__existingFile", null); Assert.Throws<CmdletInvocationException>(delegate { Shell.Execute(NewCmisDocumentCmd + "__existingFile"); }); }