Merge "Streamline testInstall_compatibleContext()"

am: 476d58c6bd

Change-Id: Ib9c11cb5d7cf80f6dc8695d3b3c28f82854f3617
This commit is contained in:
Adam Vartanian
2017-07-07 07:37:18 +00:00
committed by android-build-merger

View File

@@ -44,12 +44,9 @@ public class SSLSessionCacheTest extends TestCase {
try {
SSLSessionCache.install(new SSLSessionCache(mock), ctx);
clientCtx.getSession("www.foogle.com", 443);
Mockito.verify(mock).getSessionData(Mockito.anyString(), Mockito.anyInt());
} finally {
// Restore cacheless behaviour.
SSLSessionCache.install(null, ctx);
clientCtx.getSession("www.foogle.com", 443);
Mockito.verifyNoMoreInteractions(mock);
}
}