Artiom Iazinschi
Artiom Iazinschi
Reproduced same (or similar issue?) with these steps: 1. Open fragment A 2. Open fragment B on top of A 3. Add a dialog in fragment B 4. Click a...
> Not sure what you mean with a real long value. Zero is a real long value. Assuming, that `CONTRACT_ID` is `8L`, for example (as seen in the error), and...
Maybe this helps? Still can't reliably trigger the `strict stubbing problem` Mockito knows the real stubbing values, but when it reports the exception, it reports nulls 
OKay, managed to reproduce it minimally: I noticed that this potential stubbing problem requires use of different source files So: DemoTest.java ```java import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension;...
Based on a cursory look, there's this `DefaultStubbingLookupListener` Which contains this method `potentialArgMismatches`, which is supposed to return `List` judging by the variable name here: ``` List argMismatchStubbings = potentialArgMismatches...
This is probably highly dependent on your own use-case. Toothpick doesn't treat either way as correct per se. You pick the option that will work for you, depending on how...
The behavior in OP is likely caused by `configurationBuilder.setExpandSuperTypes(true)` set by default. The stacktraces contain `expandSuperTypes`. Explicitly calling `setExpandSuperTypes(false)` will help. Also, it seems that `expandSuperTypes` is applied AFTER filters.
p.s. Initially I thought the problem was caused by `FilterBuilder` using a somewhat inconsistent combination of `OR` and `AND` semantics (sometimes the filter is incremental, sometimes it's not). A combination...
Well, it was long ago, so I don't remember the details. I think my intention was to suggest explicit and/or operators, instead of seemingly inconsistent/undcomented OR/AND semantics. I think I...