### Question:
KieServerRouterEventListener implements KieServerEventListener { public String getUsername() { return username; } KieServerRouterEventListener();  KieServerRouterEventListener(String serverId, String serverURL, String routerURL, int failedAttemptsInterval); @Override void beforeServerStarted(KieServer kieServer); @Override void afterServerStarted(KieServer kieServer); @Override void beforeServerStopped(KieServer kieServer); @Override void afterServerStopped(KieServer kieServer); @Override void beforeContainerStarted(KieServer kieServer, KieContainerInstance containerInstance); @Override void afterContainerStarted(KieServer kieServer, KieContainerInstance containerInstance); @Override void beforeContainerStopped(KieServer kieServer, KieContainerInstance containerInstance); @Override void afterContainerStopped(KieServer kieServer, KieContainerInstance containerInstance); @Override void beforeContainerActivated(KieServer kieServer, KieContainerInstance containerInstance); @Override void afterContainerActivated(KieServer kieServer, KieContainerInstance containerInstance); @Override void beforeContainerDeactivated(KieServer kieServer, KieContainerInstance containerInstance); @Override void afterContainerDeactivated(KieServer kieServer, KieContainerInstance containerInstance); String getUsername(); RouterConnectionObserver getObserver(); void setObserver(RouterConnectionObserver observer); void close();  }### Answer:
@Test public void testListenerUsername() { KieServerRouterEventListener client = new KieServerRouterEventListener(); Assert.assertEquals("sample-id", client.getUsername()); }
@Test public void testListenerOverwriteUsername() { System.setProperty(KieServerConstants.KIE_ROUTER_MANAGEMENT_USERNAME, "sample-id-overwrite"); KieServerRouterEventListener client = new KieServerRouterEventListener(); Assert.assertEquals("sample-id-overwrite", client.getUsername()); System.clearProperty(KieServerConstants.KIE_ROUTER_MANAGEMENT_USERNAME); }