@Test public void setLocalHost() { String old = SystemInfo.getLocalHost(); try { SystemInfo.setLocalHost("xxx"); Assert.assertEquals("xxx", SystemInfo.getLocalHost()); } finally { SystemInfo.setLocalHost(old); } }
public static void setLocalHost(String localhost) { LOCALHOST = localhost; }
SystemInfo { public static void setLocalHost(String localhost) { LOCALHOST = localhost; } }
SystemInfo { public static void setLocalHost(String localhost) { LOCALHOST = localhost; }  }
SystemInfo { public static void setLocalHost(String localhost) { LOCALHOST = localhost; }  static boolean isWindows(); static Boolean isLinux(); static boolean isMac(); static int getCpuCores(); static String getLocalHost(); static void setLocalHost(String localhost); static String getHostMachine(); }
SystemInfo { public static void setLocalHost(String localhost) { LOCALHOST = localhost; }  static boolean isWindows(); static Boolean isLinux(); static boolean isMac(); static int getCpuCores(); static String getLocalHost(); static void setLocalHost(String localhost); static String getHostMachine();  }