condition.setMode("char");
xhCtrl.replay();
tlCtrl.replay();
prCtrl.replay();
TaskRegistry registry = null;
try {
registry = TaskRegistry.init(task);
registry.setCurrentTest(new MockTestLogger(registry, logger));
assertTrue("Condition evaled incorrectly", !condition.eval());
} finally {
MockTaskRegistry.reset();
}
xhCtrl.verify();