Tomasz Wasilczyk f54fc26af7 Don't over-specify testcases with verifyNoMoreInteractions.
In this specific case, there is a race condition between
verify(...).onProgramInfoChanged(...) and verifyNoMoreInteractions call.
As it's being called in the middle of the testcases, it's not possible to
pull the callback from the radio service to prevent the race condition.
However, Mockito docs ask to not overuse this method for over-specification
of the tests, so let's just comply with what the doc says.

Bug: 122715569
Test: atest BroadcastRadioTests
Change-Id: I978b13c7c7607773f12cc5a3a9f72f782fb3f345
2019-01-23 09:37:11 -08:00
..