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
JDK 21 introduced Sequenced Collections (JEP 431) which added new interfaces to the java.util Collections API. Using these interfaces as return types leads to Mockito returning null when the method is unstubbed since they are obviously missing in org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValues.
Is it possible to add this new API or impossible because of Java 11 baseline?