mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/mp/TestMissionProgramManagerImpl.java
@Test
    public void testRemoteSystemEncryption() throws Exception
    {
        assertOptionalService(MissionProgramManager.REMOTE_SYSTEM_ENCRYPTION, RemoteSystemEncryption.class, 
                new Consumer<RemoteSystemEncryption>()
                {
                    @Override
                    public void consume(RemoteSystemEncryption service)
                    {
                        m_SUT.setRemoteSystemEncryption(service);
                    }
                }, 
                new Consumer<RemoteSystemEncryption>()
                {
                    @Override
                    public void consume(RemoteSystemEncryption service)
                    {
                        m_SUT.unsetRemoteSystemEncryption(service);
                    }
                });
    }
/**
     * Verify {@link RemoteSystemEncryption} are bound correctly.
     */
Verify  RemoteSystemEncryption are bound correctly.
Verify RemoteSystemEncryption are bound correctly .
@Test
    public void testRemoteSystemEncryption() throws Exception
    {
        assertOptionalService(MissionProgramManager.REMOTE_SYSTEM_ENCRYPTION, RemoteSystemEncryption.class, 
                new Consumer<RemoteSystemEncryption>()
                {
                    @Override
                    public void consume(RemoteSystemEncryption service)
                    {
                        m_SUT.setRemoteSystemEncryption(service);
                    }
                }, 
                new Consumer<RemoteSystemEncryption>()
                {
                    @Override
                    public void consume(RemoteSystemEncryption service)
                    {
                        m_SUT.unsetRemoteSystemEncryption(service);
                    }
                });
    }
@ Test public void testRemoteSystemEncryption ( ) throws Exception { assertOptionalService ( MissionProgramManager . REMOTE_SYSTEM_ENCRYPTION , RemoteSystemEncryption . class , new Consumer < RemoteSystemEncryption > ( ) { @ Override public void consume ( RemoteSystemEncryption service ) { m_SUT . setRemoteSystemEncryption ( service ) ; } } , new Consumer < RemoteSystemEncryption > ( ) { @ Override public void consume ( RemoteSystemEncryption service ) { m_SUT . unsetRemoteSystemEncryption ( service ) ; } } ) ; }
Verify {@link RemoteSystemEncryption} are bound correctly.
Verify { @link RemoteSystemEncryption } are bound correctly .