BloomTests.Publish.ExportEpubTests.CheckFontStylesheet C# (CSharp) Method

CheckFontStylesheet() private method

private CheckFontStylesheet ( ) : void
return void
        private void CheckFontStylesheet()
        {
            var fontCssData = GetZipContent(_epub, "content/fonts.css");
            Assert.That(fontCssData,
                Is.StringContaining(
                    "@font-face {font-family:'Andika New Basic'; font-weight:normal; font-style:normal; src:url(AndikaNewBasic-R.ttf) format('opentype');}"));
            Assert.That(fontCssData,
                Is.StringContaining(
                    "@font-face {font-family:'Andika New Basic'; font-weight:bold; font-style:normal; src:url(AndikaNewBasic-B.ttf) format('opentype');}"));
            Assert.That(fontCssData,
                Is.StringContaining(
                    "@font-face {font-family:'Andika New Basic'; font-weight:normal; font-style:italic; src:url(AndikaNewBasic-I.ttf) format('opentype');}"));
            Assert.That(fontCssData,
                Is.StringContaining(
                    "@font-face {font-family:'Andika New Basic'; font-weight:bold; font-style:italic; src:url(AndikaNewBasic-BI.ttf) format('opentype');}"));
        }