mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-07-22 13:45:48 +00:00
634a318fdf
@Before's preferences.getBoolean stub was never invoked by migrate()-only tests (only migrationNeeded() reads that preference), tripping Mockito's strict-stubs UnnecessaryStubbingException across the whole class. Moved it into a dedicated migrationNeeded() test, matched via any() rather than the production class's private preference-key constant (which isn't visible here), and added the missing assertTrue import.