@Test
void shouldReturnIndexesInRoundRobinOrder()
{

    RoundRobinArrayIndex roundRobinIndex = new RoundRobinArrayIndex();
    for ( int i = 0; i < 10; i++ )
    {
        int index = roundRobinIndex.next( 10 );
        assertEquals( i, index );
    }
    for ( int i = 0; i < 5; i++ )
    {
        int index = roundRobinIndex.next( 5 );
        assertEquals( i, index );
    }
}