Searched refs:mockCertStore (Results 1 – 1 of 1) sorted by relevance
77 private TrustedCertificateStore mockCertStore; field in KeyChainServiceRoboTest124 ShadowTrustedCertificateStore.sDelegate = mockCertStore; in setUp()158 doThrow(new IOException()).when(mockCertStore).installCertificate(any()); in testCaInstallFailedLogging()175 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testCaRemoveSuccessLogging()187 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testCaRemoveFailedLogging()188 doThrow(new IOException()).when(mockCertStore).deleteCertificateEntry(any()); in testCaRemoveFailedLogging()200 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testNoLoggingWhenDisabled()205 doThrow(new IOException()).when(mockCertStore).installCertificate(any()); in testNoLoggingWhenDisabled()206 doThrow(new IOException()).when(mockCertStore).deleteCertificateEntry(any()); in testNoLoggingWhenDisabled()