Ejemplo n.º 1
0
        public async Task DownloadPageFiles_when_page_exists_Then_it_returns_the_files_as_a_zip()
        {
            var result = await _fileStorageService.DownloadPageFiles(_applicationId, _sequenceNumber, _sectionNumber, _pageId, _containerType, new CancellationToken());

            Assert.IsNotNull(result);
            StringAssert.EndsWith(".zip", result.FileName);
            StringAssert.AreEqualIgnoringCase("application/zip", result.ContentType);
        }