You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.mockito.exceptions.misusing.UnfinishedMockingSessionException:
10:02:02
10:02:02 Unfinished mocking session detected.
10:02:02 Previous MockitoSession was not concluded with 'finishMocking()'.
10:02:02 For examples of correct usage see javadoc for MockitoSession class.
10:02:02 at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:160)
10:02:02 at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
10:02:02 at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
10:02:02 Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null
10:02:02 at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:194)
10:02:02 ... 2 more
10:02:02
We should use a manual mocking setup until the issue mockito/mockito#3411 is fixed.
The text was updated successfully, but these errors were encountered:
We should use a manual mocking setup until the issue mockito/mockito#3411 is fixed.
The text was updated successfully, but these errors were encountered: