public void waitForHandleInvocations(int count)
public boolean waitForHandleInvocations(int count)
   public void waitForHandleInvocations(int count)   {      synchronized(waitingArea)      {         while(true)         {            Integer invocations = (Integer)waitingArea.get(INVOCATION_COUNT);            if (invocations.intValue() == count)            {               return;            }            try            {               waitingArea.wait(1000);            }            catch(InterruptedException e)            {               log.debug(e);            }         }      }   }