### Question:
BSHFilter implements RawIncomingFilter, Configurable { public void setConfiguration (Configuration cfg) throws ConfigurationException { this.cfg = cfg; } BSHFilter(); void setConfiguration(Configuration cfg); ISOMsg filter(ISOChannel channel, ISOMsg m, LogEvent evt); ISOMsg filter(ISOChannel channel, ISOMsg m, byte[] header, byte[] image, LogEvent evt);  }### Answer:
@Test public void testSetConfiguration() throws Throwable { BSHFilter bSHFilter = new BSHFilter(); Configuration cfg = new SimpleConfiguration(); bSHFilter.setConfiguration(cfg); assertSame(cfg, bSHFilter.cfg, "bSHFilter.cfg"); }