@Test
public void testListPrintWriter() throws Throwable {

    handler.invoke(proxy, MyConfig.class.getDeclaredMethod("list", PrintWriter.class), printWriter);
    verify(properties).list(eq(printWriter));
}