JAXBConfigImpl extends AbstractBaseConfig { protected void doSystem(Param p) { doSystem("", p); } JAXBConfigImpl();  JAXBConfigImpl(Config config);  JAXBConfigImpl(String fileLoc, Config config);  JAXBConfigImpl(List<String> fileLocs, Config config);  JAXBConfigImpl(String fileLoc);  JAXBConfigImpl(List<String> fileLocs);  JAXBConfigImpl(Properties properties);  JAXBConfigImpl(String fileLoc, Properties properties);  JAXBConfigImpl(List<String> fileLocs, Properties properties); @Override Object getObject(String key); @Override Map<String, Object> getObjects(); @Override Properties getProperties(); @Override String getProperty(String key); Properties getRawProperties(); @Override void putProperty(String key, String value); @Override void putProperties(Properties properties); @Override void parseConfig(); boolean isSystemOverride(); void setSystemOverride(boolean systemOverride); @Override void putObject(String key, Object value); @Override void putObjects(Map<String, Object> objects); @Override void removeObject(String key); @Override void removeProperty(String key); @Override void putConfig(Config config); @Override String toString();  }
@Test public void testDoSystem() { JAXBConfigImpl config = new JAXBConfigImpl(); Param p = new Param(); p.setName("foo"); p.setValue("bar"); p.setOverride(false); config.doSystem(p); Assert.assertEquals("bar", System.getProperty("foo")); p.setOverride(false); p.setValue("barbar"); config.doSystem(p); Assert.assertEquals("bar", System.getProperty("foo")); System.getProperties().remove("foo"); }