@inherits Bunit.TestContext @code { [Test] public void Header_WhenRendered_ItShouldContainSiteTitle() { var cut = Render(@
); var heading = cut.Find("h1"); heading.MarkupMatches(@

journal

); } [Test] public void Header_WhenRendered_ItShouldContainAuthorInfo() { var cut = Render(@
); var author = cut.Find(".author-container > span"); author.MarkupMatches(@by); } [Test] public void Header_WhenRendered_ItShouldContainAuthorImage() { var cut = Render(@
); var image = cut.Find("img[alt='Stevan Freeborn']"); image.Should().NotBeNull(); } }