class ConfigurationHelper {

    public String getPropertyAsString(ConfigurationValue configurationValue)
    {
        return environment
            .getProperty(configurationValue.getKey(), configurationValue.getDefaultValue() == null ? "" : configurationValue.getDefaultValue().toString());
    }

}