Esempio n. 1
0
        public void RemoveRemovedFolder()
        {
            const int itemId         = 1;
            const int expectedLength = folderCount - 1;
            var       repo           = new FolderRepository(_context);

            repo.Remove(itemId);
            var res = repo.GetAll();

            Assert.Equal(expectedLength, res.Count());
        }