Avoid unfinished MockitoSession if setUp has errors
If there is an exception before initializing mInputChannel, the tearDown will meet NPE. Then finishMocking and clearInlineMocks are skipped which will affect the next test. Bug: 313490373 Test: SystemServicesTestRuleTest Change-Id: I846a209d9cbdd1ccd18e05fa4e053e16218d3c82
Loading
Please register or sign in to comment