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
Loading
Please register or sign in to comment