@Test(expected = IllegalArgumentException.class)
public void testUpdateByteArrayIntNegInt() {

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