public int incrementAndGet() {
        return data[index].incrementAndGet();
    }
@Test
    void testIncrementAndGet() {
        
        SimpleFlowData simpleFlowData = new SimpleFlowData(5, 10000);
        assertEquals(1, simpleFlowData.incrementAndGet());
        assertEquals(2, simpleFlowData.incrementAndGet());
        assertEquals(3, simpleFlowData.incrementAndGet());
        
    }