Package org.mockito.internal.stubbing
Class UnusedStubbingReporting
- java.lang.Object
-
- org.mockito.internal.stubbing.UnusedStubbingReporting
-
public final class UnusedStubbingReporting extends java.lang.Object
Helps determining if stubbing should be reported as unused
-
-
Constructor Summary
Constructors Modifier Constructor Description private
UnusedStubbingReporting()
-
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.
-
-
-
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.
-
-