0 votes
in JAVA by
Mockito can throw an exception using which of the following?

when().thenThrow()

doWhen().thenThrow()

when().thenAnswer()

when().thenReturn()

1 Answer

0 votes
by
when().thenThrow()

Related questions

0 votes
asked Feb 12, 2020 in JAVA by rahuljain1
0 votes
asked Feb 12, 2020 in JAVA by rahuljain1
...