wa.setFormatter(new DummyFormatter());
wa.setFormatter((ExtendedFormatter)new DummyFormatter());
    protected AbstractHandler getConfiguredHandler() {        WriterHandler wa = new WriterHandler("another name");        // set a bogus writer        wa.setWriter(new CharArrayWriter());        // set a bogus layout        wa.setFormatter(new DummyFormatter());        wa.activateOptions();        return wa;    }