Exemplo n.º 1
0
        public void ShouldReturnAccessableWritableLeaves(List <string> writableFolders, List <string> readableFolders, List <string> resultShouldContain)
        {
            var result        = FolderStructureUtilities.GetWritableFolderStructure(readableFolders, writableFolders);
            var resultFolders = result.GetLeafFolders();

            AssertUtilities.CollectionContainsSubcollection(resultFolders, resultShouldContain);
        }
Exemplo n.º 2
0
        public void ShouldNotReturnReadOnlyLeaves(List <string> writableFolders, List <string> readableFolders, List <string> resultShouldNotContain)
        {
            var result        = FolderStructureUtilities.GetWritableFolderStructure(readableFolders, writableFolders);
            var resultFolders = result.GetLeafFolders();

            AssertUtilities.CollectionDoesNotContainSubcollection(resultFolders, resultShouldNotContain);
        }