@Test
public void testGetZipFromBadUrl() {

    int[] badCodes = new int[]{ 400, 401, 404, 500, 501};
    for(int badCode : badCodes){
        HttpClient client = mockHttpClient(badCode, null);
        try{
            instance.getZipFromUrl("http://owi.usgs.gov", client);
            fail("Should throw exception on HTTP error");
        } catch (ProcessException ex){
            //do nothing, this is expected
        }
    }
    return; //Exceptions were thrown on all HTTP errors
}