@Test void getPropertyFromSecurity() { Security.setProperty("testVariable", "example"); String value = EnvironmentUtils.getProperty("testVariable"); assertEquals("example", value); }
static String getProperty(final String variableName, final String defaultValue) { val value = getProperty(variableName); if (StringUtils.isNotBlank(value)) { return value; } return defaultValue; }
EnvironmentUtils { static String getProperty(final String variableName, final String defaultValue) { val value = getProperty(variableName); if (StringUtils.isNotBlank(value)) { return value; } return defaultValue; } }
EnvironmentUtils { static String getProperty(final String variableName, final String defaultValue) { val value = getProperty(variableName); if (StringUtils.isNotBlank(value)) { return value; } return defaultValue; } private  EnvironmentUtils(); }
EnvironmentUtils { static String getProperty(final String variableName, final String defaultValue) { val value = getProperty(variableName); if (StringUtils.isNotBlank(value)) { return value; } return defaultValue; } private  EnvironmentUtils();  }
EnvironmentUtils { static String getProperty(final String variableName, final String defaultValue) { val value = getProperty(variableName); if (StringUtils.isNotBlank(value)) { return value; } return defaultValue; } private  EnvironmentUtils();   }