mil.dod.th.ose.remote/test/mil/dod/th/ose/remote/util/TestMetatypeInformationListener.java
@Test
    public void testHandleUnrelatedServiceRegistration()
    {
        //handle event
        m_Handler.handleEvent(unrelatedEvent());
        //verify that because the registered class is not a managed service nor metatype provider 
        //that no event is posted
        verify(m_EventAdmin, never()).postEvent(Mockito.any(Event.class));
    }
/**
     * Test service registered event when the service is not one that provides metatype information.
     * Verify no event is posted.
     */
Test service registered event when the service is not one that provides metatype information.
Verify no event is posted.
Test service registered event when the service is not one that provides metatype information . Verify no event is posted .
@Test
    public void testHandleUnrelatedServiceRegistration()
    {
        m_Handler.handleEvent(unrelatedEvent());
        verify(m_EventAdmin, never()).postEvent(Mockito.any(Event.class));
    }
@ Test public void testHandleUnrelatedServiceRegistration ( ) { m_Handler . handleEvent ( unrelatedEvent ( ) ) ; verify ( m_EventAdmin , never ( ) ) . postEvent ( Mockito . any ( Event . class ) ) ; }
Test service registered event when the service is not one that provides metatype information.
Test service registered event when the service is not one that provides metatype information .
//handle event //verify that because the registered class is not a managed service nor metatype provider  //that no event is posted