@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");
}