mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/controller/TestControllerMgrImpl.java
@Test
    public void testGrowlMessageAddingController()
    {
        //create 2 controllers
        m_ChannelHelper.handleEvent(createBasicChannelUpdatedEvent(mock(RemoteChannel.class), CONT_ID_1));
        m_ChannelHelper.handleEvent(createBasicChannelUpdatedEvent(mock(RemoteChannel.class), CONT_ID_5));
        
        //verify that only 1 growl message appeared
        verify(m_GrowlUtil).createGlobalFacesMessage(eq(FacesMessage.SEVERITY_INFO), anyString(), anyString());
    }
/**
     * Verifies that a growl message appears only for controllers that do not have the maximum ID set and that there is 
     * no growl message duplication.
     */
Verifies that a growl message appears only for controllers that do not have the maximum ID set and that there is
no growl message duplication.
Verifies that a growl message appears only for controllers that do not have the maximum ID set and that there is no growl message duplication .
@Test
    public void testGrowlMessageAddingController()
    {
        m_ChannelHelper.handleEvent(createBasicChannelUpdatedEvent(mock(RemoteChannel.class), CONT_ID_1));
        m_ChannelHelper.handleEvent(createBasicChannelUpdatedEvent(mock(RemoteChannel.class), CONT_ID_5));
        verify(m_GrowlUtil).createGlobalFacesMessage(eq(FacesMessage.SEVERITY_INFO), anyString(), anyString());
    }
@ Test public void testGrowlMessageAddingController ( ) { m_ChannelHelper . handleEvent ( createBasicChannelUpdatedEvent ( mock ( RemoteChannel . class ) , CONT_ID_1 ) ) ; m_ChannelHelper . handleEvent ( createBasicChannelUpdatedEvent ( mock ( RemoteChannel . class ) , CONT_ID_5 ) ) ; verify ( m_GrowlUtil ) . createGlobalFacesMessage ( eq ( FacesMessage . SEVERITY_INFO ) , anyString ( ) , anyString ( ) ) ; }
Verifies that a growl message appears only for controllers that do not have the maximum ID set and that there is
 no growl message duplication.
Verifies that a growl message appears only for controllers that do not have the maximum ID set and that there is no growl message duplication .
//create 2 controllers //verify that only 1 growl message appeared