mockito/mockito — pull request #8 by Kornel (2013-02-27 10:45:48+00:00)
Title: ComponentUnderTest rule

Hi,
There is a feature I use a lot with my Spring projects where dependencies are injected based on annotations. The idea is to automate the creation of mocks and get rid of @Mock and @InjectMocks annotations. It could be used anywhere where dependencies are injected based on annotations.

As described in https://groups.google.com/forum/?fromgroups=#!topic/mockito/aBv81zqU-p8 (rather unnoticed ;))

Please take a look at ComponentUnderTestRuleIntegrationTest for
documentation / sample.

What do you think?

Kornel