BloomTests.web.EnhancedImageServerTests.GetCorrect_CustomCollectionStylesCss C# (CSharp) Method

GetCorrect_CustomCollectionStylesCss() private method

private GetCorrect_CustomCollectionStylesCss ( ) : void
return void
        public void GetCorrect_CustomCollectionStylesCss()
        {
            using (var server = CreateImageServer())
            {
                SetupCssTests();
                // Let's do it the way BookStorage.EnsureHasLinksToStylesheets() does it
                var filePath = ".." + Path.DirectorySeparatorChar + "customCollectionStyles.css";
                var cssFile = Path.Combine(_folder.Path, "TestCollection", "TestBook", filePath);

                var url = cssFile.ToLocalhost();
                var transaction = new PretendRequestInfo(url);

                server.MakeReply(transaction);

                Assert.That(transaction.ReplyContents, Is.EqualTo(".customCollectionStylesCssTest{}"));
            }
        }