Home
last modified time | relevance | path

Searched refs:mockRanking (Results 1 – 1 of 1) sorted by relevance

/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DAssistantTest.java151 Ranking mockRanking = mock(Ranking.class); in generateRanking() local
152 when(mockRanking.getChannel()).thenReturn(channel); in generateRanking()
153 when(mockRanking.getImportance()).thenReturn(channel.getImportance()); in generateRanking()
154 when(mockRanking.getKey()).thenReturn(sbn.getKey()); in generateRanking()
155 when(mockRanking.getOverrideGroupKey()).thenReturn(null); in generateRanking()
156 return mockRanking; in generateRanking()