ConfigurationUtils { public static String getProperty(String property) { return getProperty(property, null); }  static Configuration getSystemConfiguration(); static Configuration getEnvConfiguration(); static Configuration getGlobalConfiguration(); @SuppressWarnings("deprecation") static int getServerShutdownTimeout(); static String getProperty(String property); static String getProperty(String property, String defaultValue); static int get(String property, int defaultValue); static Map<String, String> parseProperties(String content);  }
@Test public void testGetProperty () { System.setProperty(SHUTDOWN_WAIT_KEY, " 10000"); Assertions.assertEquals("10000", ConfigurationUtils.getProperty(SHUTDOWN_WAIT_KEY)); System.clearProperty(SHUTDOWN_WAIT_KEY); }