### Question:
Logger implements LogProducer,Configurable { public void removeListener (LogListener l) { listeners.remove(l); } Logger(); Configuration getConfiguration(); @Override void setConfiguration(Configuration cfg); void addListener(LogListener l); void removeListener(LogListener l); void removeAllListeners(); static void log(LogEvent evt); void setName(String name); void destroy(); synchronized static Logger getLogger(String name); String getName(); boolean hasListeners(); static final String NRPREFIX; }### Answer:
@Test public void testRemoveListener() throws Throwable { Logger logger = new Logger(); logger.removeListener(new SimpleLogListener()); assertEquals(0, logger.listeners.size(), "m_logger.listeners.size()"); }