CmisCmdlets.Test.Commands.NewCmisDocumentTests.CreatingDocumentWithInvalidPathThrows C# (CSharp) Method

CreatingDocumentWithInvalidPathThrows() private method

private CreatingDocumentWithInvalidPathThrows ( string path ) : void
path string
return void
        public void CreatingDocumentWithInvalidPathThrows(string path)
        {
            CmisHelper.RegisterTempObject(path);
            Assert.Throws<CmdletInvocationException>(delegate {
                Shell.Execute(NewCmisDocumentCmd + path);
            });
            Assert.That(path, CmisHelper.DoesNotExist);
        }