@Test
public void testForEachWithIndexException()
{

    Verify.assertThrows(RuntimeException.class, new Runnable()
    {
        public void run()
        {
            FJIterate.forEachWithIndex(
                    FJIterateTest.createIntegerList(5),
                    new PassThruObjectIntProcedureFactory<>(EXCEPTION_OBJECT_INT_PROCEDURE),
                    new PassThruCombiner<ObjectIntProcedure<Integer>>(),
                    1,
                    5);
        }
    });
}