Reverse Mockito APIs.
Mockito seems to have problems with when().thenReturn(), so use doReturn().when() instead. Bug: 224573955 Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/tare Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare Change-Id: I15e7b5d0927cd6f36c952f994f0ac497ba85c681
Loading
Please register or sign in to comment