@Test
public void testGetDecryptedConfigurationValue() throws Exception
{

    Map<String, Object> overrideMap = new HashMap<>();
    overrideMap.put(ConfigurationValue.ACTIVITI_JOB_DEFINITION_ID_TEMPLATE.getKey(), MockKmsOperationsImpl.MOCK_CIPHER_TEXT);
    modifyPropertySourceInEnvironment(overrideMap);
    try
    {
        String resultDecryptedValue = kmsHelper.getDecryptedConfigurationValue(ConfigurationValue.ACTIVITI_JOB_DEFINITION_ID_TEMPLATE);
        assertEquals(MockKmsOperationsImpl.MOCK_PLAIN_TEXT, resultDecryptedValue);
    }
    finally
    {
        restorePropertySourceInEnvironment();
    }
}