Searched refs:mockController2 (Results 1 – 2 of 2) sorted by relevance
296 final AbstractPreferenceController mockController2 = in updateState_skipUnavailablePrefs() local299 when(mockController2.getPreferenceKey()).thenReturn("key2"); in updateState_skipUnavailablePrefs()301 preferenceControllers.add(mockController2); in updateState_skipUnavailablePrefs()303 when(mockController2.isAvailable()).thenReturn(true); in updateState_skipUnavailablePrefs()308 verify(mockController2, times(2)).getPreferenceKey(); in updateState_skipUnavailablePrefs()315 final AbstractPreferenceController mockController2 = in updateState_doesNotSkipControllersOfSameClass() local318 mTestFragment.addPreferenceController(mockController2); in updateState_doesNotSkipControllersOfSameClass()320 when(mockController2.isAvailable()).thenReturn(true); in updateState_doesNotSkipControllersOfSameClass()325 verify(mockController2).getPreferenceKey(); in updateState_doesNotSkipControllersOfSameClass()
810 MediaController mockController2 = createMockMediaController(/* dispatchResult== */ true); in testMediaKeyEventListenerOnKeyEvent_stopsAfterFirstDelivery() local813 .thenReturn(List.of(mockController1, mockController2, mockController3)); in testMediaKeyEventListenerOnKeyEvent_stopsAfterFirstDelivery()820 verify(mockController2).dispatchMediaButtonEvent(MEDIA_KEY_EVENT); in testMediaKeyEventListenerOnKeyEvent_stopsAfterFirstDelivery()