Package org.apache.pulsar.tests
Class MockitoThreadLocalStateCleaner
java.lang.Object
org.apache.pulsar.tests.MockitoThreadLocalStateCleaner
Cleanup Mockito's Thread Local state. This is needed when Mockito has been used in an invalid way.
Mockito.reset method should be called at the end of a test in the same thread where the methods were
mocked/stubbed.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
-
-
Method Details
-
cleanup
public void cleanup() -
isEnabled
public boolean isEnabled()
-