@Test
public void testDumpthrowIndexOutOfBoundsException() {

    thrown.expect(IndexOutOfBoundsException.class);
    Hex.dump(new byte[0], 4, 1, -2147483648, 1, 4);
    // Method is not expected to return due to exception thrown
}