codegangsta/martini — pull request #141 by shuhei (2013-12-28 03:55:56+00:00)
Title: Allow framework users to mock martini.Context.

The private method `written() bool` in `Context` interface prevents framework users from mocking `martini.Context` and directly testing handlers. It would be great if users can easily mock it getting the most out of the Dependency Injection design of martini.