Login
Remember
Register
Ask a Question
Mockito can throw an exception using which of the following?
0
votes
asked
Feb 12, 2020
in
JAVA
by
rahuljain1
Mockito can throw an exception using which of the following?
when().thenThrow()
doWhen().thenThrow()
when().thenAnswer()
when().thenReturn()
#mockito-exception
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 13, 2020
by
SakshiSharma
when().thenThrow()
...