### Question:
Utils { public static void showErrorAndExit(String message, String... messages) { LoggerFactory.getLogger("general").error(message); final String ANSI_RED = "\u001B[31m"; final String ANSI_RESET = "\u001B[0m"; System.err.println(ANSI_RED); System.err.println(); System.err.println(" " + message); for (String msg : messages) { System.err.println(" " + msg); } System.err.println(); System.err.println(ANSI_RESET); throw new RuntimeException(message); }  static String longToTimePeriod(long msec); static SecureRandom getRandom(); static String getNodeIdShort(String nodeId); static long toUnixTime(long javaTime); static long fromUnixTime(long unixTime); @SafeVarargs static T[] mergeArrays(T[]... arr); static String align(String s, char fillChar, int targetLen, boolean alignRight); static String repeat(String s, int n); static void showErrorAndExit(String message, String... messages); static void showWarn(String message, String... messages); static String sizeToStr(long size); static void sleep(long ms); @Deprecated static long time();  }### Answer:
@Test(expected = RuntimeException.class) public void showErrorAndExit() { Utils.showErrorAndExit("test"); }