public void GetStylesheetHrefPathRendersAppropriatePath(string src, string virtualDir, string skinPath, string expected) { UnitTestHelper.SetHttpContextWithBlogRequest("localhost", "Anything", virtualDir); var style = new Style { Href = src }; string stylePath = StyleSheetElementCollectionRenderer.GetStylesheetHrefPath(skinPath, style); Assert.AreEqual(stylePath, expected, "The rendered style path was not what we expected."); }