Ejemplo n.º 1
0
        public void ShouldGetContainerAsync()
        {
            // Arrange
            IFilesApi filesApi = CreateFilesApi();

            // Act
            ContainerResponse result = filesApi.GetContainerAsync("applications", ListingFlags.IncludeEverything).Result;

            // Assert
            result.ShouldNotBe(null);
            result.name.ShouldBe("applications");
            result.folder.Count.ShouldBe(11);
            result.file.Count.ShouldBe(32);
        }