idm.stop();
   public void test1() throws Exception   {      IdManager idm = new IdManager("test_counter", 1000, pm);            int blockSize = 37;                  long nextLow = Long.MIN_VALUE;            for (int i = 0; i < 1000; i++)      {         IdBlock block = idm.getIdBlock(blockSize);                            assertTrue(block.getLow() >= nextLow);                  assertEquals(blockSize, 1 + block.getHigh() - block.getLow());                  nextLow = block.getHigh() + 1;               }   }