Searched refs:mockController1 (Results 1 – 2 of 2) sorted by relevance
294 final AbstractPreferenceController mockController1 = in updateState_skipUnavailablePrefs() local298 when(mockController1.getPreferenceKey()).thenReturn("key1"); in updateState_skipUnavailablePrefs()300 preferenceControllers.add(mockController1); in updateState_skipUnavailablePrefs()302 when(mockController1.isAvailable()).thenReturn(false); in updateState_skipUnavailablePrefs()307 verify(mockController1).getPreferenceKey(); in updateState_skipUnavailablePrefs()313 final AbstractPreferenceController mockController1 = in updateState_doesNotSkipControllersOfSameClass() local317 mTestFragment.addPreferenceController(mockController1); in updateState_doesNotSkipControllersOfSameClass()319 when(mockController1.isAvailable()).thenReturn(true); in updateState_doesNotSkipControllersOfSameClass()324 verify(mockController1).getPreferenceKey(); in updateState_doesNotSkipControllersOfSameClass()
809 MediaController mockController1 = createMockMediaController(/* dispatchResult== */ false); in testMediaKeyEventListenerOnKeyEvent_stopsAfterFirstDelivery() local813 .thenReturn(List.of(mockController1, mockController2, mockController3)); in testMediaKeyEventListenerOnKeyEvent_stopsAfterFirstDelivery()819 verify(mockController1).dispatchMediaButtonEvent(MEDIA_KEY_EVENT); in testMediaKeyEventListenerOnKeyEvent_stopsAfterFirstDelivery()