easyforgood / mockito

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

Consecutive stubbing for doThrow method #396

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Both doThrow methods should allow vararg arguments for the same reason 
thenThrow does.

Original issue reported on code.google.com by Pavel.Rappo on 16 Nov 2012 at 9:22

GoogleCodeExporter commented 8 years ago
Agreed that would make sense.

As a workaround you can still chain doThrow stubs

Original comment by brice.du...@gmail.com on 19 Nov 2012 at 1:48

GoogleCodeExporter commented 8 years ago

Original comment by brice.du...@gmail.com on 27 Nov 2012 at 5:01

GoogleCodeExporter commented 8 years ago

Original comment by brice.du...@gmail.com on 4 Dec 2013 at 3:54