### Question:
TaskLogDiscriminator extends AbstractDiscriminator<ILoggingEvent> { public void setKey(String key) { this.key = key; }  @Override String getDiscriminatingValue(ILoggingEvent event); @Override void start(); @Override String getKey(); void setKey(String key); String getLogBase(); void setLogBase(String logBase);  }### Answer:
@Test public void setKey() { taskLogDiscriminator.setKey("123"); }