@Test
public void testEmptyReadThrowsEOF() throws IOException {

    ByteArrayInputStream empty = new ByteArrayInputStream(new byte[] {});
    exception.expect(EOFException.class);
    DiskBasedCache.readInt(empty);
}