martes, 1 de noviembre de 2016

HttpRequestBuilder

Some times, I need to mock the controller request , for example for viewing the http headers or content-type. I was thinking the best way to solve this little problem. So I write a very small utility (it satisfies my needed), using builder pattern.

Of course I use tdd with monodevelop, nunit and Moq.

The code lives here