mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/controller/TestObservationCountMgrImpl.java
@Test
    public void testPreDestroy()
    {
        m_SUT.preDestroy();
        
        //Verify that unregister is called twice. Once for each event handler.
        verify(m_Registration, times(2)).unregister();
    }
/**
     * Test pre destroy method.
     * Verify the unregister method is called for all event handlers.
     */
Test pre destroy method.
Verify the unregister method is called for all event handlers.
Test pre destroy method . Verify the unregister method is called for all event handlers .
@Test
    public void testPreDestroy()
    {
        m_SUT.preDestroy();
        verify(m_Registration, times(2)).unregister();
    }
@ Test public void testPreDestroy ( ) { m_SUT . preDestroy ( ) ; verify ( m_Registration , times ( 2 ) ) . unregister ( ) ; }
Test pre destroy method.
Test pre destroy method .
//Verify that unregister is called twice. Once for each event handler.