Class UniversalTestListener

java.lang.Object
org.mockito.internal.junit.UniversalTestListener
All Implemented Interfaces:
MockitoTestListener, AutoCleanableListener, MockCreationListener, MockitoListener

public class UniversalTestListener extends Object implements MockitoTestListener, AutoCleanableListener
Universal test listener that behaves accordingly to current setting of strictness. Will come handy when we offer tweaking strictness at the method level with annotation. Should be relatively easy to improve and offer tweaking strictness per mock.