public void setTarget(LogOutput target) {
    this.target = target;
  }
@Test
  public void testChangeTarget() {
    listener = mock(LogOutput.class);
    appender.setTarget(listener);
    testLevelTranslation();
  }