private static void ProcessQueue(CommandQueue queue, int timeoutSecs)
        {
            ICommand cmd = queue.Pop(false);
            while (cmd != null)
            {
                cmd.Execute();
                cmd.Dispose();

                cmd = queue.Pop(false);
            }
        }
 public override void OnSetup()
 {
     _queue = new CommandQueue();
     _callCount = 0;
 }