Searched refs:mMockEnrollmentDao (Results 1 – 3 of 3) sorted by relevance
87 @Mock private EnrollmentDao mMockEnrollmentDao; field in EnrollmentDataDownloadManagerTest132 doReturn(mMockEnrollmentDao).when(() -> (EnrollmentDao.getInstance())); in testReadFileAndInsertIntoDatabaseSuccess()161 doReturn(true).when(mMockEnrollmentDao).insert(enrollmentDataCaptor.capture()); in testReadFileAndInsertIntoDatabaseSuccess()185 verify(mMockEnrollmentDao, times(5)).insert(any()); in testReadFileAndInsertIntoDatabaseSuccess()192 verifyZeroInteractions(mMockEnrollmentDao); in testReadFileAndInsertIntoDatabaseSuccess()200 doReturn(mMockEnrollmentDao).when(() -> (EnrollmentDao.getInstance())); in testReadFileAndInsertIntoDatabaseFileGroupNull()211 verify(mMockEnrollmentDao, never()).insert(any()); in testReadFileAndInsertIntoDatabaseFileGroupNull()219 doReturn(mMockEnrollmentDao).when(() -> (EnrollmentDao.getInstance())); in testReadFileAndInsertIntoDatabaseEnrollmentDataFileIdMissing()239 verify(mMockEnrollmentDao, never()).insert(any()); in testReadFileAndInsertIntoDatabaseEnrollmentDataFileIdMissing()249 doReturn(mMockEnrollmentDao).when(() -> (EnrollmentDao.getInstance())); in testReadFileAndInsertIntoDatabaseExecutionException()[all …]
80 @Mock private EnrollmentDao mMockEnrollmentDao; field in TopicsServiceTest112 doReturn(mMockEnrollmentDao).when(() -> EnrollmentDao.getInstance()); in testBindableTopicsService_killswitchOff()174 doReturn(mMockEnrollmentDao).when(() -> EnrollmentDao.getInstance()); in testBindableTopicsService_killswitchOffGaUxFeatureFlagOn()
102 @Mock private EnrollmentDao mMockEnrollmentDao; field in MeasurementServiceTest207 ExtendedMockito.doReturn(mMockEnrollmentDao).when(() -> EnrollmentDao.getInstance()); in runWithMocks()208 doReturn(ENROLLMENT).when(mMockEnrollmentDao).getEnrollmentDataFromMeasurementUrl(any()); in runWithMocks()