public synchronized int getEndOfBlockIndex() {
        return endOfBlockIndex;
    }
@Test
    public void tesGgetEndOfBlockIndex() {
        int expected = -1;
        assertEquals(expected, instance.getEndOfBlockIndex(), "Unexpected initial value");

        expected = 0;
        instance.endOfBlockIndex = expected;
        assertEquals(expected, instance.getEndOfBlockIndex());

        expected = 5;
        instance.endOfBlockIndex = expected;
        assertEquals(expected, instance.getEndOfBlockIndex());
    }