DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
mockito throw exception void method
doThrow(new Exception()).when(mockedObject).methodReturningVoid(...);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mockito
#throw
#exception
#void
#method
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit