Files
pezkuwi-wallet-android/feature-wallet-impl
pezkuwichain a8d2636f66 fix: use raw org.mockito.Mockito statics instead of test_shared wrappers
Root cause of 'eq(...) must not be null' NPE: test_shared's eq()/any()/
argThat() are thin Kotlin wrappers with a declared non-null generic return
type T. Mockito.eq()/any() genuinely return null at runtime (that's how
their matcher-stack recording works) - fine when called directly from
Kotlin (a raw Java static call's return is a platform type, no null-check
inserted), but going through a Kotlin-declared wrapper whose T infers as
non-null at the call site (e.g. eq(baseUrl: String) here) gets a
compiler-inserted null-check on the wrapper's return, which then fires.

Scoped this fix to this test file only rather than touching test_shared's
shared implementation, which every other module's tests also depend on.
2026-07-10 09:36:41 -07:00
..