For the last few months, I have been working on an example showing that it is possible to produce sites on top of a CMS in a TDD manner. The aim is to get more people using TDD by giving a starting point.
Currently, I am implementing this in Umbraco and have built this method that others might find useful.
It has a dependency on NSubstitute however you should be able to swap that out for your favourite mocking framework.