@Test
public void testExceptionFromAuthCache() throws B2Exception {

    final B2Exception e = new B2InternalErrorException("testing", "testing message");
    doThrow(e).when(authCache).get();
    thrown.expect(B2InternalErrorException.class);
    thrown.expectMessage("testing message");
    uploadPartCache.get(false);
}