Skip navigation links

Package org.mockito.configuration

Black magic Mockito utility.

See: Description

Package org.mockito.configuration Description

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
Skip navigation links

Copyright © 2018 OpenDaylight. All rights reserved.