Class | Description |
---|---|
ArgumentsExtractorVerifier |
Verifier that extracts arguments from actual invocation.
|
MockitoConfiguration |
Configuration customization for Mockito.
|
ThrowsUnstubbedMethodException |
Answer that throws
UnstubbedMethodException . |
Exception | Description |
---|---|
UnstubbedMethodException |
Exception to be thrown on unstubbed method call.
|
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.
MockitoConfiguration
,
IMockitoConfiguration
Copyright © 2018 OpenDaylight. All rights reserved.