Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dde50f56 authored by Eric Lin's avatar Eric Lin
Browse files

Replace MockitoAnnotations with @Rule MockitoJUnit.rule().

Manual MockitoAnnotations.initMocks(this) is discouraged.
Migrated to @Rule MockitoJUnit.rule() for automatic mock/captor injection and enhanced test readability.

Test: atest WMJetpackUnitTests
Bug: 243518738
Change-Id: Idd83f7bf6216bb75c8c1214fecf79ef007717d54
parent 52a73369
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment