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

   ObjIntIntArrayList<Integer> list = new ObjIntIntArrayList<>(0);
   list.addToIntsIfMatch(0, 1, 1, 1);
}