edu.udayton.udri.asset.novatel/test/edu/udayton/udri/asset/novatel/TestNovatelAsset.java
@Test
    public void testOnDeactivate() throws AssetException, IOException, IllegalStateException, InterruptedException
    {
        m_SUT.onActivate();
        m_SUT.onDeactivate();
        
        //verify dep interaction
        verify(m_ConnectionManager).stopProcessing();
        verify(m_MessageReader).stopRetrieving();
        verify(m_TimeChangeService).disconnectTimeService();
    }
/**
     * Verify that the asset can be deactivated.
     */
Verify that the asset can be deactivated.
Verify that the asset can be deactivated .
@Test
    public void testOnDeactivate() throws AssetException, IOException, IllegalStateException, InterruptedException
    {
        m_SUT.onActivate();
        m_SUT.onDeactivate();
        verify(m_ConnectionManager).stopProcessing();
        verify(m_MessageReader).stopRetrieving();
        verify(m_TimeChangeService).disconnectTimeService();
    }
@ Test public void testOnDeactivate ( ) throws AssetException , IOException , IllegalStateException , InterruptedException { m_SUT . onActivate ( ) ; m_SUT . onDeactivate ( ) ; verify ( m_ConnectionManager ) . stopProcessing ( ) ; verify ( m_MessageReader ) . stopRetrieving ( ) ; verify ( m_TimeChangeService ) . disconnectTimeService ( ) ; }
Verify that the asset can be deactivated.
Verify that the asset can be deactivated .
//verify dep interaction