@Test(expected = IndexOutOfBoundsException.class)
public void testUpdateByteArrayNegIntInt() {

    final byte[] input = new byte[42];
    new Expectations(hash) {
    };
    hash.update(input, -1, 10);
}