mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/utils/push/TestPushGrowlMessage.java
@Test
    public void testGetSeverity()
    {
        assertThat(m_SUT.getSeverity(), is("info"));
        
        m_SUT.setSeverity(FacesMessage.SEVERITY_FATAL);
        
        assertThat(m_SUT.getSeverity(), is("fatal"));
        
        m_SUT.setSeverity(FacesMessage.SEVERITY_WARN);
        
        assertThat(m_SUT.getSeverity(), is("warn"));
        
        m_SUT.setSeverity(FacesMessage.SEVERITY_ERROR);
        
        assertThat(m_SUT.getSeverity(), is("error"));
    }
/**
     * Verify severity can be retrieved/set.
     */
Verify severity can be retrieved/set.
Verify severity can be retrieved / set .
@Test
    public void testGetSeverity()
    {
        assertThat(m_SUT.getSeverity(), is("info"));
        m_SUT.setSeverity(FacesMessage.SEVERITY_FATAL);
        assertThat(m_SUT.getSeverity(), is("fatal"));
        m_SUT.setSeverity(FacesMessage.SEVERITY_WARN);
        assertThat(m_SUT.getSeverity(), is("warn"));
        m_SUT.setSeverity(FacesMessage.SEVERITY_ERROR);
        assertThat(m_SUT.getSeverity(), is("error"));
    }
@ Test public void testGetSeverity ( ) { assertThat ( m_SUT . getSeverity ( ) , is ( "info" ) ) ; m_SUT . setSeverity ( FacesMessage . SEVERITY_FATAL ) ; assertThat ( m_SUT . getSeverity ( ) , is ( "fatal" ) ) ; m_SUT . setSeverity ( FacesMessage . SEVERITY_WARN ) ; assertThat ( m_SUT . getSeverity ( ) , is ( "warn" ) ) ; m_SUT . setSeverity ( FacesMessage . SEVERITY_ERROR ) ; assertThat ( m_SUT . getSeverity ( ) , is ( "error" ) ) ; }
Verify severity can be retrieved/set.
Verify severity can be retrieved / set .