Class DefaultMockitoSession

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void finishMocking()
      Must be invoked when the user is done with mocking for given session (test method).
      void finishMocking​(java.lang.Throwable failure)
      Must be invoked when the user is done with mocking for given session (test method).
      void setStrictness​(Strictness strictness)
      Changes the strictness of this MockitoSession.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultMockitoSession

        public DefaultMockitoSession​(java.util.List<java.lang.Object> testClassInstances,
                                     java.lang.String name,
                                     Strictness strictness,
                                     MockitoLogger logger)