-
- All Implemented Interfaces:
-
org.mockito.MockitoSession
@UnstableApi() public class StaticMockitoSession implements MockitoSession
Same as MockitoSession but used when static methods are also stubbed.
-
-
Method Summary
Modifier and Type Method Description voidsetStrictness(Strictness strictness)voidfinishMocking()Extension: This also resets all stubbing of static methods set up in the builder of the session. voidfinishMocking(Throwable failure)Extension: This also resets all stubbing of static methods set up in the builder of the session. -
-
Method Detail
-
setStrictness
void setStrictness(Strictness strictness)
-
finishMocking
void finishMocking()
Extension: This also resets all stubbing of static methods set up in the builder of the session.
-
finishMocking
void finishMocking(Throwable failure)
Extension: This also resets all stubbing of static methods set up in the builder of the session.
-
-
-
-