mil.dod.th.ose.remote/test/mil/dod/th/ose/remote/TestRemoteSettingsImpl.java
@Test
    public void testActivateWithOutProp()
    {
        //mock prop from framework
        when(m_Context.getProperty(RemoteSettingsImpl.ENCRYPTION_FRAMEWORK_PROPERTY)).
            thenReturn(null);
        m_SUT.activate(m_Context, m_Props);
        
        //verify
        assertThat(m_SUT.getEncryptionMode(), is(EncryptionMode.NONE));
    }
/**
     * Test activation if there is no property from the framework. 
     */
Test activation if there is no property from the framework.
Test activation if there is no property from the framework .
@Test
    public void testActivateWithOutProp()
    {
        when(m_Context.getProperty(RemoteSettingsImpl.ENCRYPTION_FRAMEWORK_PROPERTY)).
            thenReturn(null);
        m_SUT.activate(m_Context, m_Props);
        assertThat(m_SUT.getEncryptionMode(), is(EncryptionMode.NONE));
    }
@ Test public void testActivateWithOutProp ( ) { when ( m_Context . getProperty ( RemoteSettingsImpl . ENCRYPTION_FRAMEWORK_PROPERTY ) ) . thenReturn ( null ) ; m_SUT . activate ( m_Context , m_Props ) ; assertThat ( m_SUT . getEncryptionMode ( ) , is ( EncryptionMode . NONE ) ) ; }
Test activation if there is no property from the framework.
Test activation if there is no property from the framework .
//mock prop from framework //verify