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

    final byte[] output = new byte[5];
    new Expectations(hash) {
    };
    hash.getBytes(output, 0, output.length + 1);
}