CmisCmdlets.Test.Commands.NewCmisFolderTests.CreateExistingFolderWithoutRecursionFails C# (CSharp) Method

CreateExistingFolderWithoutRecursionFails() private method

private CreateExistingFolderWithoutRecursionFails ( ) : void
return void
        public void CreateExistingFolderWithoutRecursionFails()
        {
            CmisHelper.CreateTempFolder("/__existingFolder");

            Assert.Throws<CmdletInvocationException>(delegate {
                Shell.Execute(NewCmisFolderCmd + "/__existingFolder");
            });
            Assert.That("/__existingFolder", CmisHelper.Exists);
        }