mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/controller/TestControllerMgrImpl.java
@Test
    public void testEventHelperInvalidController()
    {
        //mock sys info response for unknown controller
        mockControllerMessage(6666, BaseMessageType.ControllerInfo); 
        
        // verify event is not sent for unknown controller
        ArgumentCaptor<Event> eventCaptor = ArgumentCaptor.forClass(Event.class);
        verify(m_EventAdmin, never()).postEvent(eventCaptor.capture());
    }
/**
     * Verify no event is posted for EventHelper when there are no known controllers.
     */
Verify no event is posted for EventHelper when there are no known controllers.
Verify no event is posted for EventHelper when there are no known controllers .
@Test
    public void testEventHelperInvalidController()
    {
        mockControllerMessage(6666, BaseMessageType.ControllerInfo); 
        ArgumentCaptor<Event> eventCaptor = ArgumentCaptor.forClass(Event.class);
        verify(m_EventAdmin, never()).postEvent(eventCaptor.capture());
    }
@ Test public void testEventHelperInvalidController ( ) { mockControllerMessage ( 6666 , BaseMessageType . ControllerInfo ) ; ArgumentCaptor < Event > eventCaptor = ArgumentCaptor . forClass ( Event . class ) ; verify ( m_EventAdmin , never ( ) ) . postEvent ( eventCaptor . capture ( ) ) ; }
Verify no event is posted for EventHelper when there are no known controllers.
Verify no event is posted for EventHelper when there are no known controllers .
//mock sys info response for unknown controller // verify event is not sent for unknown controller