mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/utils/TestGrowlMessageUtil.java
@Test
    public void testCreateLocalFacesMessageNoException()
    {
        m_SUT.createLocalFacesMessage(FacesMessage.SEVERITY_INFO, "Summary", "Details");
        
        ArgumentCaptor<PushGrowlMessage> msgCaptor = ArgumentCaptor.forClass(PushGrowlMessage.class);
        verify(m_Manager).addMessage(msgCaptor.capture());
        PowerMockito.verifyStatic();
        Logging.log(LogService.LOG_INFO, "Details");
        
        PushGrowlMessage msg = msgCaptor.getValue();
        assertThat(msg.getSeverity(), is("info"));
        assertThat(msg.getSummary(), is("Summary"));
        assertThat(msg.getDetail(), is("Details"));
    }
/**
     * Test creating a growl message with no exception.
     * Verify that the message is appropriately created.
     */
Test creating a growl message with no exception.
Verify that the message is appropriately created.
Test creating a growl message with no exception . Verify that the message is appropriately created .
@Test
    public void testCreateLocalFacesMessageNoException()
    {
        m_SUT.createLocalFacesMessage(FacesMessage.SEVERITY_INFO, "Summary", "Details");
        ArgumentCaptor<PushGrowlMessage> msgCaptor = ArgumentCaptor.forClass(PushGrowlMessage.class);
        verify(m_Manager).addMessage(msgCaptor.capture());
        PowerMockito.verifyStatic();
        Logging.log(LogService.LOG_INFO, "Details");
        PushGrowlMessage msg = msgCaptor.getValue();
        assertThat(msg.getSeverity(), is("info"));
        assertThat(msg.getSummary(), is("Summary"));
        assertThat(msg.getDetail(), is("Details"));
    }
@ Test public void testCreateLocalFacesMessageNoException ( ) { m_SUT . createLocalFacesMessage ( FacesMessage . SEVERITY_INFO , "Summary" , "Details" ) ; ArgumentCaptor < PushGrowlMessage > msgCaptor = ArgumentCaptor . forClass ( PushGrowlMessage . class ) ; verify ( m_Manager ) . addMessage ( msgCaptor . capture ( ) ) ; PowerMockito . verifyStatic ( ) ; Logging . log ( LogService . LOG_INFO , "Details" ) ; PushGrowlMessage msg = msgCaptor . getValue ( ) ; assertThat ( msg . getSeverity ( ) , is ( "info" ) ) ; assertThat ( msg . getSummary ( ) , is ( "Summary" ) ) ; assertThat ( msg . getDetail ( ) , is ( "Details" ) ) ; }
Test creating a growl message with no exception.
Test creating a growl message with no exception .