@Test
public void testGetRequiredConfigurationValue() throws Exception
{

    Map<String, Object> overrideMap = new HashMap<>();
    overrideMap.put(ConfigurationValue.ACTIVITI_JOB_DEFINITION_ID_TEMPLATE.getKey(), STRING_VALUE);
    modifyPropertySourceInEnvironment(overrideMap);
    try
    {
        String resultValue = herdStringHelper.getRequiredConfigurationValue(ConfigurationValue.ACTIVITI_JOB_DEFINITION_ID_TEMPLATE);
        assertEquals(STRING_VALUE, resultValue);
    }
    finally
    {
        restorePropertySourceInEnvironment();
    }
}