mil.dod.th.ose.remote/test/mil/dod/th/ose/remote/observation/TestRemoteObservationListener.java
@Test
    public void testDeactivate() throws InterruptedException
    {
        //deactivate
        m_SUT.deactivate();

        //verify
        verify(m_HandlerReg, times(2)).unregister();
    }
/**
     * Test deactivation.
     * Verify the unregistering of event handlers.
     */
Test deactivation.
Verify the unregistering of event handlers.
Test deactivation . Verify the unregistering of event handlers .
@Test
    public void testDeactivate() throws InterruptedException
    {
        m_SUT.deactivate();
        verify(m_HandlerReg, times(2)).unregister();
    }
@ Test public void testDeactivate ( ) throws InterruptedException { m_SUT . deactivate ( ) ; verify ( m_HandlerReg , times ( 2 ) ) . unregister ( ) ; }
Test deactivation.
Test deactivation .
//deactivate //verify