Class UnnecessaryStubbingsReporter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.Object> mocks  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onMockCreated​(java.lang.Object mock, MockCreationSettings settings)
      Mock object was just created.
      void validateUnusedStubs​(java.lang.Class<?> testClass, org.junit.runner.notification.RunNotifier notifier)  
      • Methods inherited from class java.lang.Object

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

      • mocks

        private java.util.List<java.lang.Object> mocks
    • Constructor Detail

      • UnnecessaryStubbingsReporter

        public UnnecessaryStubbingsReporter()
    • Method Detail

      • validateUnusedStubs

        public void validateUnusedStubs​(java.lang.Class<?> testClass,
                                        org.junit.runner.notification.RunNotifier notifier)