ssacher-tgm / mockito

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

Doucmentation points to deprecated methods #115

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is a *trivial* documentation issue.

The statement "We recommend using simple stubbing with toReturn() or
toThrow() only." points to deprecated toReturn() and toThrow() methods.
Those should be changed to thenReturn() and thenThrow().

Original issue reported on code.google.com by Ramnivas...@gmail.com on 15 Aug 2009 at 9:45

GoogleCodeExporter commented 8 years ago
oh right! Thanks for reporting. I'll fix it!

Original comment by szcze...@gmail.com on 17 Aug 2009 at 8:53

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1588.

Original comment by szcze...@gmail.com on 22 Aug 2009 at 9:05

GoogleCodeExporter commented 8 years ago
yes it was trivial but thanks again for reporting. This way the docs have 
better quality.

Original comment by szcze...@gmail.com on 22 Aug 2009 at 9:06

GoogleCodeExporter commented 8 years ago

Original comment by szcze...@gmail.com on 11 Nov 2009 at 1:33