CmisCmdlets.Test.Commands.UpdateCmisObjectTests.UpdateFolderContentThrows C# (CSharp) Method

UpdateFolderContentThrows() private method

private UpdateFolderContentThrows ( ) : void
return void
        public void UpdateFolderContentThrows()
        {
            CmisHelper.CreateTempFolder("__throwOnUpdate");

            Assert.Throws<CmdletInvocationException>(delegate {
                Shell.Execute(
                    UpdateCmisObjectCmd + "__throwOnUpdate -Content 'foo' -MimeType 'text/plain'"
                );
            });
        }