@Test
public void test404ForUpdateFile() throws Exception {

    byte[] b = "ignored".getBytes();
    configureIndex(b, b, b);
    try {
        updater = new TestUpdater(indexURL, "UnitTest", dir, null);
        updater.call();
        fail();
    } catch (FileNotFoundException e) {
        assertEquals("http://localhost:18475/_updatefx/appname/2.jar.bpatch", e.getMessage());
    }
}