@Deprecated
public void testAddMessageWitSeverityErro() {
RequestContext context = Beans.getReference(RequestContext.class);
context.activate();
Message message = new DefaultMessage("Menssage without param", SeverityType.ERROR);
DummyMessageAppender appender = Beans.getReference(DummyMessageAppender.class);
messageContext.add(message);
assertEquals(appender.getMessages().get(0).getSeverity(), SeverityType.ERROR);
context.deactivate();