Exemplo n.º 1
0
 public void GetEntitiesOfDirectoryTest()
 {
     Assert.Equal(new[]
     {
         fileInDirectoryPath
     }, fileSystem.GetEntities(directoryPath).ToArray());
 }
 public void GetEntitiesOfDirectoryTest()
 {
     CollectionAssert.AreEquivalent(new[]
     {
         fileInDirectoryPath
     }, fileSystem.GetEntities(directoryPath).ToArray());
 }
 public void GetEntitiesOfRootTest()
 {
     CollectionAssert.AreEquivalent(
         new[] { textfileAPath, directoryPath },
         fileSystem.GetEntities(FileSystemPath.Root).ToArray()
         );
 }