synchronized (counter)
{
service_.queueTask(new ATask(counter));
service_.queueTask(new ATask(counter));
service_.queueTask(new ATask(counter));
counter.wait(30000);
}
assertEquals("expect a task is run 3 times", 3, 3 - counter.get());
boolean b = service_.removeGlobaTriggerListener("GlobalTriggerListener");
assertTrue("expect Global Trigger Listener is removed", b);
}