@Test
public void testGetAccountIdCallsGet() throws B2Exception {

    final B2AccountAuthorization auth1 = makeAuthWithAccountId(accountId, 1);
    doReturn(auth1).when(authorizer).authorize(webifier);
    assertTrue(cache.getAccountId().equals(accountId));
    verify(authorizer, times(1)).authorize(webifier);
    //verify we only called authorize once when getting the accountId
    assertTrue(cache.getAccountId().equals(accountId));
    verify(authorizer, times(1)).authorize(webifier);
}