Searched refs:mockCertStore (Results 1 – 1 of 1) sorted by relevance
72 private TrustedCertificateStore mockCertStore; field in KeyChainServiceRoboTest110 ShadowTrustedCertificateStore.sDelegate = mockCertStore; in setUp()140 doThrow(new IOException()).when(mockCertStore).installCertificate(any()); in testCaInstallFailedLogging()157 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testCaRemoveSuccessLogging()169 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testCaRemoveFailedLogging()170 doThrow(new IOException()).when(mockCertStore).deleteCertificateEntry(any()); in testCaRemoveFailedLogging()182 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testNoLoggingWhenDisabled()187 doThrow(new IOException()).when(mockCertStore).installCertificate(any()); in testNoLoggingWhenDisabled()188 doThrow(new IOException()).when(mockCertStore).deleteCertificateEntry(any()); in testNoLoggingWhenDisabled()