authContext.acquireTokenSilentAsync("resource", "clientid", TEST_USERID, callback);
final CountDownLatch signal = new CountDownLatch(1);
signal.await(ACTIVITY_TIME_OUT, TimeUnit.MILLISECONDS);</BUG>
try {
<BUG>assertNull(callback.getCallbackException());
assertNotNull(callback.getCallbackResult());
assertTrue(callback.getCallbackResult().getAccessToken().equals("I am an AT"));

} finally {</BUG>
cacheStore.removeAll();

HttpUrlConnectionFactory.mockedConnection = mockedConnection;
Util.prepareMockedUrlConnection(mockedConnection);
Mockito.when(mockedConnection.getOutputStream()).thenReturn(Mockito.mock(OutputStream.class));
Mockito.when(mockedConnection.getInputStream()).thenReturn(
Util.createInputStream(Util.getSuccessTokenResponse(false, false)));
Mockito.when(mockedConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_OK);
