### Question:
CurrentServer { public static String getServerName(TaskunConfig config) { if (config != null) { Map<String, String> servers = config.namedServers; Set<String> names = servers.keySet(); for (String name : names) { if (getHostname().matches(servers.get(name))) { return name; } } } return getHostname(); }  static boolean isWorkingOnNamedServerHost(TaskunConfig config, String name); static String getServerName(TaskunConfig config); static String getHostname();  }### Answer:
@Test public void getWorkingServerName_A$SchedulerConfig$String() throws Exception { TaskunConfig config = new TaskunConfig(); String actual = CurrentServer.getServerName(config); assertNotNull(actual); }
@Test public void getServerName_A$TaskunConfig() throws Exception { TaskunConfig config = new TaskunConfig(); String actual = CurrentServer.getServerName(config); assertNotNull(actual); }