klimchuk daniil
03/05/2024, 6:54 PMno answer found for EncryptedSharedPreferencesStorage(#10).set(ACCESS_TOKEN_KEY, null) among the configured answers: (EncryptedSharedPreferencesStorage(#10).set(eq(ACCESS_TOKEN_KEY), null()))
This clearly shows that i'm mocking the method with the called parameters, because they both match
The test code is:
every { prefs.set(ACCESS_TOKEN_KEY, isNull()) } just runs
storage.clear()
verify { prefs.set(ACCESS_TOKEN_KEY, null) }
What am i doing wrong?