@Test
public void thatCanAuthenticateNewTokenSessionWhenRefreshToken() throws IOException {

    Token token = givenARefreshToken();
    Response response = givenA200Response();
    Session session = new Session(token);
    mSessionManager.setSession(HaloAuthenticator.HALO_SESSION_NAME, session);
    Request newRequest = mAuthenticator.authenticate(null, response);
    assertThat(newRequest).isNotNull();
    assertThat(newRequest.header("Authorization")).isEqualTo(token.getAuthorization());
}