### Question:
FilterLogListener implements LogListener,Configurable { @Override public void setConfiguration (Configuration cfg) throws ConfigurationException { try { String log_priority = cfg.get("priority"); if ( log_priority != null && !log_priority.trim().equals("") && LEVELS.containsKey(log_priority) ) { priority = log_priority; } } catch (Exception e) { throw new ConfigurationException (e); } } FilterLogListener();  FilterLogListener(PrintStream p); @Override void setConfiguration(Configuration cfg); synchronized void setPrintStream(PrintStream p); synchronized void close(); String getPriority(); void setPriority(String priority); boolean permitLogging(String tagLevel); @Override synchronized LogEvent log(LogEvent ev);  }### Answer:
@Test public void testSetConfiguration() throws Throwable { FilterLogListener filterLogListener = new FilterLogListener(); Configuration cfg = new SimpleConfiguration(); filterLogListener.setConfiguration(cfg); assertEquals("info", filterLogListener.getPriority(), "filterLogListener.getPriority()"); }