Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java doreturn void


Mockito.doThrow(new Exception()).when(instance).methodName();

Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #java #doreturn #void
ADD COMMENT
Topic
Name
7+1 =