mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/asset/TestAssetMgrImpl.java
@Test
    public void testHandleAssetDirScanEvent()
    {
        //make some assets, just so that we don't exit out of the method because of no model
        Event getAssetsReponse = mockGetAssetsResponse(systemId1);
        m_AssetDirHelper.handleEvent(getAssetsReponse);
        
        //handle event with scan topic
        m_EventHelper.handleEvent(mockEventUnHandledAssetDirectoryEvent(systemId1));

        //verify no update event
        verify(m_EventAdmin, never()).postEvent(Mockito.any(Event.class));
    }
/**
     * Verify no event posted for an asset directory service event topic not supported by the WEB GUI.
     */
Verify no event posted for an asset directory service event topic not supported by the WEB GUI.
Verify no event posted for an asset directory service event topic not supported by the WEB GUI .
@Test
    public void testHandleAssetDirScanEvent()
    {
        Event getAssetsReponse = mockGetAssetsResponse(systemId1);
        m_AssetDirHelper.handleEvent(getAssetsReponse);
        m_EventHelper.handleEvent(mockEventUnHandledAssetDirectoryEvent(systemId1));
        verify(m_EventAdmin, never()).postEvent(Mockito.any(Event.class));
    }
@ Test public void testHandleAssetDirScanEvent ( ) { Event getAssetsReponse = mockGetAssetsResponse ( systemId1 ) ; m_AssetDirHelper . handleEvent ( getAssetsReponse ) ; m_EventHelper . handleEvent ( mockEventUnHandledAssetDirectoryEvent ( systemId1 ) ) ; verify ( m_EventAdmin , never ( ) ) . postEvent ( Mockito . any ( Event . class ) ) ; }
Verify no event posted for an asset directory service event topic not supported by the WEB GUI.
Verify no event posted for an asset directory service event topic not supported by the WEB GUI .
//make some assets, just so that we don't exit out of the method because of no model //handle event with scan topic //verify no update event