@Test
public void testListPrintStream() throws IOException {
ByteArrayOutputStream expected = new ByteArrayOutputStream();
PropertiesManagerForTest manager =
new PropertiesManagerForTest(AccessibleConfig.class, new Properties(), scheduler, expander, loaders);
manager.load().list(new PrintStream(expected, true));
AccessibleConfig config = ConfigFactory.create(AccessibleConfig.class);
ByteArrayOutputStream result = new ByteArrayOutputStream();
config.list(new PrintStream(result, true));