}
public void testGlobalPropertyConfig() throws Exception {
PrintStream err = System.err;
try {
System.setErr(new PrintStream(new NullOutputStream()));
// before add config property, root has two handler
manager.readConfiguration(EnvironmentHelper
.PropertiesToInputStream(props));
assertEquals(2, manager.getLogger("").getHandlers().length);