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

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

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

            ConfigureTrash(10, 10, 2, true);

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

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

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