mil.dod.th.ose.gui.remote.encryption/test/mil/dod/th/ose/gui/remotesystemencryption/TestRemoteSystemEncryptionImpl.java
@Test
    public void testGetAddEncryptType()
    {
        EncryptType nullType = m_SUT.getEncryptType(123);
        
        assertThat(nullType, nullValue());
        
        //add an encrypt type for 123 system 
        m_SUT.addEncryptionTypeForSystem(123, EncryptType.AES_ECDH_ECDSA);
        
        //verify correct type can be retrieved 
        assertThat(m_SUT.getEncryptType(123), is(EncryptType.AES_ECDH_ECDSA));
    }
/**
     * Verify that the correct encryption types can be retrieved and set for 
     * a given system id.
     */
Verify that the correct encryption types can be retrieved and set for
a given system id.
Verify that the correct encryption types can be retrieved and set for a given system id .
@Test
    public void testGetAddEncryptType()
    {
        EncryptType nullType = m_SUT.getEncryptType(123);
        assertThat(nullType, nullValue());
        m_SUT.addEncryptionTypeForSystem(123, EncryptType.AES_ECDH_ECDSA);
        assertThat(m_SUT.getEncryptType(123), is(EncryptType.AES_ECDH_ECDSA));
    }
@ Test public void testGetAddEncryptType ( ) { EncryptType nullType = m_SUT . getEncryptType ( 123 ) ; assertThat ( nullType , nullValue ( ) ) ; m_SUT . addEncryptionTypeForSystem ( 123 , EncryptType . AES_ECDH_ECDSA ) ; assertThat ( m_SUT . getEncryptType ( 123 ) , is ( EncryptType . AES_ECDH_ECDSA ) ) ; }
Verify that the correct encryption types can be retrieved and set for
 a given system id.
Verify that the correct encryption types can be retrieved and set for a given system id .
//add an encrypt type for 123 system  //verify correct type can be retrieved 