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

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

Refactor Mockito init to follow best practices.

Replace deprecated MockitoAnnotations.initMocks(this) with the
recommended @Rule public final MockitoRule mocks = MockitoJUnit.rule();
to adhere to Mockito best practices and ensure cleaner, more
maintainable test code.

Bug: 354063239
Test: atest FrameworksCoreTests WmTests
Flag: TEST_ONLY
Change-Id: I411a3cc25c16076b71d8ea83f0e6bb6656611552
parent 2937f5f1
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