CssValidator v = makeCssValidator(mq);
assertTrue(css, !v.validateCss(ac(t)));
MessageLevel maxLevel = MessageLevel.values()[0];
for (Message msg : mq.getMessages()) {
MessageLevel level = msg.getMessageLevel();
if (level.compareTo(maxLevel) > 0) { maxLevel = level; }
}
// If there is a failure, there should be an error or greater on the queue.
assertTrue(maxLevel.name(), MessageLevel.ERROR.compareTo(maxLevel) <= 0);
}