BloomTests.WebLibraryIntegration.BookTransferTests.SmokeTest_DownloadKnownBookFromProductionSite C# (CSharp) Method

SmokeTest_DownloadKnownBookFromProductionSite() private method

private SmokeTest_DownloadKnownBookFromProductionSite ( ) : void
return void
        public void SmokeTest_DownloadKnownBookFromProductionSite()
        {
            var dest = _workFolderPath.CombineForPath("output");
            Directory.CreateDirectory(dest);

            //if this fails, don't panic... maybe the book is gone. If so, just pick another one.
            var url =
            "bloom://localhost/order?orderFile=BloomLibraryBooks/cara_ediger%40sil-lead.org%2ff0665264-4f1f-43d3-aa7e-fc832fe45dd0%2fBreakfast%2fBreakfast.BloomBookOrder&title=Breakfast";
            var destBookFolder = _transfer.DownloadFromOrderUrl(url, dest, "nonsense");
            Assert.That(Directory.GetFiles(destBookFolder).Length, Is.GreaterThan(3));
        }