In this article I will describe how to use the MOQ library in a
basic test project in Visual studio 2012. Visual Studio provides a
plain and simple way to make unit tests, but you cannot simply mock
objects. Adding the Moq library makes live easier when you are
building unit tests.
In this blog post I will explain how to create a custom macro in
Umbraco. I will do this by making a XSLT macro that shows a list of
all blog items but only the first paragraph of each item.