Package org.mockito.configuration
Black magic Mockito utility.
This artifact is "black magic" because by merely depending on it (by its presence on the classpath, without ever using any of its classes), all usages of core Mockito.mock() in your existing tests will suddenly behave differently automagically all by themselves: They will throw ThrowsUnstubbedMethodException instead of returning null etc. as in default Mockito. (This "magic" is also the technical reason why this is package org.mockito.configuration instead of org.opendaylight.*)
TODO Point to the "other/new artifact with more sane Mockito helper, with explicit API.
- See Also:
MockitoConfiguration,IMockitoConfiguration
-
Class Summary Class Description ArgumentsExtractorVerifier Verifier that extracts arguments from actual invocation.MockitoConfiguration Configuration customization for Mockito.ThrowsUnstubbedMethodException Answer that throwsUnstubbedMethodException. -
Exception Summary Exception Description UnstubbedMethodException Exception to be thrown on unstubbed method call.