@Test
public void thatHandleNotConnectivity() throws IOException {

    HaloNetworkApi networkApi = givenAHaloNetWorkApi(mFramework,mEndpointURL);
    HaloRequest request = givenAGetRequest(networkApi);
    HaloNetworkExceptionResolver haloNetworkExceptionResolver = new HaloNetworkExceptionResolver();
    HaloNetException haloNetException = haloNetworkExceptionResolver.resolve(new HaloConnectionException("No connectivity",new Exception()),request.buildOkRequest(),false);
    assertThat(haloNetException).isNotNull();
    assertThat(haloNetException.getMessage()).contains("not connectivity");
}