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

Skip to content
Commit 9eb3faab authored by Kweku Adams's avatar Kweku Adams
Browse files

Fix Mockito usage.

Using doReturn().when() is safer than when().thenReturn() for tests that
use multithreaded objects.

Bug: 236261941
Test: atest FrameworksMockingServicesTests:FlexibilityControllerTest
Change-Id: I1481e55082278ca2dc19033236fe4dfe84f3e46e
parent fdbabfc4
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