SenseNet.ContentRepository.Tests.TrashTest.Delete_UsingDeleteNode_ExceedBagLimit C# (CSharp) Метод

Delete_UsingDeleteNode_ExceedBagLimit() приватный Метод

private Delete_UsingDeleteNode_ExceedBagLimit ( ) : void
Результат void
        public void Delete_UsingDeleteNode_ExceedBagLimit()
        {
            var exceptionThrown = false;

            ConfigureTrash(10, 10, 2, true);

            EnsureNode("[TestRoot]/Folder/Sample1");
            EnsureNode("[TestRoot]/Folder/Sample2");

            try
            {
                DeleteWithDeleteNode("[TestRoot]/Folder");
            }
            catch (ApplicationException)
            {
                exceptionThrown = true;
            }

            Assert.IsTrue(exceptionThrown, "ApplicationException exception should be thrown.");
            CheckNumberOfItemsInTrash(0);
            
        }
        
TrashTest