cloud1105 / mockito

Automatically exported from code.google.com/p/mockito
0 stars 0 forks source link

Javadoc InjectMocks states that only constructor injection is supported but field injection also works #441

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
See 

http://docs.mockito.googlecode.com/hg/org/mockito/InjectMocks.html

It states that only constructor injection is supported but field injection also 
works. I suggest to correct the Javadoc.

Original issue reported on code.google.com by Lars.Vo...@gmail.com on 30 Jun 2013 at 4:50

GoogleCodeExporter commented 8 years ago
This documentation is outdated, please refer to these links

http://docs.mockito.googlecode.com/hg/latest/org/mockito/InjectMocks.html
http://docs.mockito.googlecode.com/hg/1.9.5/org/mockito/InjectMocks.html

New javadoc links may one day be moved to github

Original comment by brice.du...@gmail.com on 4 Dec 2013 at 1:22