<p>Does anyone know how to unit test SiteMapNode? We’re building some custom navigation controls, which renders unordered html lists from Site Maps with custom attributes.</p>

<p>I’m trying to follow a test first approach but am finding that SiteMapNode has internal dependencies on HttpContext. To traverse the site map file it insists on using a virtual path to find the site map file.</p>

<p>I have build a site map, which I’d like to test against but I don’t want to create my unit testing environment in web project(!)</p>

<p>Any suggestions? Mocking?  Overriding the relevant members?</p>

A rather dull question, so no surprise it didn't get a response! For anyone else who may stumble across this problem, here's my preferred solution:
I've found the best way to handle this is to load the physical site map into an xml document. I then have a NavigationNodeFactory, which validates and builds my own composite NavigationNode tree from the xml document.
My NavigationNode class is as opinionated as I like and circumnavigates the issues I found with SiteMap and SiteMapProvider, namely poor testability for implementers.