@Test
public void testIntSequenceDataPool() {

	
	int nbIncrementsWanted = 3;
	int maxIntWanted = 10;
	
	IntSequenceDataPool poolConf = new IntSequenceDataPool();
	poolConf.setStart(new DynamicValue<Integer>(1));
	poolConf.setEnd(new DynamicValue<Integer>(maxIntWanted));
	poolConf.setInc(new DynamicValue<Integer>(1));
	
	DataSet<?> pool = DataPoolFactory.getDataPool("sequence", poolConf, newExecutionContext());
	pool.init();
	Integer value = incrementNtimes(pool, nbIncrementsWanted);
	pool.close();
	
	Assert.assertEquals(nbIncrementsWanted, value.intValue());
}