*/
public void testGetMaximumSeverity() {
assertNull(portalFacesContext.getMaximumSeverity());
portalFacesContext.addMessage(ID0, new FacesMessage());
Severity maximumSeverity = portalFacesContext.getMaximumSeverity();
assertEquals(0,maximumSeverity.compareTo(FacesMessage.SEVERITY_INFO));
portalFacesContext.addMessage("_id1", new FacesMessage(FacesMessage.SEVERITY_ERROR,"error","error detail"));
maximumSeverity = portalFacesContext.getMaximumSeverity();
assertEquals(0,maximumSeverity.compareTo(FacesMessage.SEVERITY_ERROR));
}