GetProperties extends MetadataAPIBase { public GetProperties() { AutowireCapableBeanFactory acbFactory = getAutowireCapableBeanFactory(); acbFactory.autowireBean(this); } GetProperties(); Properties getProperties(String pid, String configGroup); @Override List<GetPropertiesInfo> execute(String[] params);  }
@Ignore @Test public void testGetProperties() throws Exception { GetProperties gp = new GetProperties(); Properties properties = gp.getProperties("10802", "credential"); LOGGER.debug("properties = " + properties.getProperty("rules.username")); LOGGER.debug("executed! "); }