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()
...