Searched refs:mMockCursor (Results 1 – 1 of 1) sorted by relevance
190 private Cursor mMockCursor; field in PeopleSpaceUtilsTest225 any())).thenReturn(mMockCursor); in setUp()385 when(mMockCursor.moveToNext()).thenReturn(true, false); in testDoNotUpdateSingleConversationAppWidgetWhenNotBirthday()386 when(mMockCursor.getString(eq(TEST_COLUMN_INDEX))).thenReturn(TEST_LOOKUP_KEY); in testDoNotUpdateSingleConversationAppWidgetWhenNotBirthday()387 when(mMockCursor.getColumnIndex(eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testDoNotUpdateSingleConversationAppWidgetWhenNotBirthday()405 when(mMockCursor.moveToNext()).thenReturn(true, false); in testUpdateSingleConversationAppWidgetWithoutPersonContactUriToRemoveBirthday()406 when(mMockCursor.getString(eq(TEST_COLUMN_INDEX))).thenReturn(TEST_LOOKUP_KEY); in testUpdateSingleConversationAppWidgetWithoutPersonContactUriToRemoveBirthday()407 when(mMockCursor.getColumnIndex(eq(ContactsContract.CommonDataKinds.Event.LOOKUP_KEY) in testUpdateSingleConversationAppWidgetWithoutPersonContactUriToRemoveBirthday()462 when(mMockCursor.moveToNext()).thenReturn(true, false, true, false); in testUpdateSingleConversationAppWidgetWhenBirthday()463 when(mMockCursor.getString(eq(TEST_COLUMN_INDEX))).thenReturn(TEST_LOOKUP_KEY); in testUpdateSingleConversationAppWidgetWhenBirthday()[all …]