Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

mockito verify not called

import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;

// ...

verify(dependency, never()).someMethod();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mockito #verify #called
ADD COMMENT
Topic
Name
2+6 =