@Test
public void thatHaloUnknownServerExceptionIsThrown() throws IOException {

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