Class UnusedStubbingReporting


  • public final class UnusedStubbingReporting
    extends java.lang.Object
    Helps determining if stubbing should be reported as unused
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean shouldBeReported​(Stubbing stubbing)
      Decides if the stubbing should be reported as unused.
      • Methods inherited from class java.lang.Object

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

      • UnusedStubbingReporting

        private UnusedStubbingReporting()
    • Method Detail

      • shouldBeReported

        public static boolean shouldBeReported​(Stubbing stubbing)
        Decides if the stubbing should be reported as unused. Lenient stubbings are not reported as unused.