@Test
public void thatHandleNotFoundExceptionIsThrown() throws IOException {

    enqueueServerError(mMockServer,404);
    HaloNetworkApi networkApi = givenAHaloNetWorkApi(mFramework,mEndpointURL);
    HaloRequest request = givenAGetRequest(networkApi);
    HaloNetworkExceptionResolver haloNetworkExceptionResolver = new HaloNetworkExceptionResolver();
    try{
        haloNetworkExceptionResolver.resolve(request.execute());
    }
    catch (HaloNotFoundException haloNotFoundException){
        assertThat(haloNotFoundException).isNotNull();
        assertThat(haloNotFoundException.getMessage()).contains("404");
    }
}