@Test
public void getEndpointInfo_testFalseRefresh() throws Exception {

    int times = 10;
    boolean refresh = false;
    gusTransport = createGusTransportHappyCase();
    EndpointInfo ei = gusTransport.getEndpointInfo();
    assertEquals(TEST_INSTANCE_URL, ei.getEndPoint());
    assertEquals(TEST_TOKEN, ei.getToken());
    // call again and should not refresh
    for (int i = 0; i < times; i++) {
        EndpointInfo ei2 = gusTransport.getEndpointInfo(refresh);
        assertSame(ei, ei2);
    }
    verify(httpClient, times(1)).execute(any());
    verify(httpResponse, times(1)).getStatusLine();
    verify(httpResponseStatusLine, times(1)).getStatusCode();
    verify(httpResponse, times(1)).getEntity();
}