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

Skip to content
Commit 5347c17e authored by Kweku Adams's avatar Kweku Adams
Browse files

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
parent ba30e363
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