@Test public void isNullRuntimeException_NotNull_ShouldReturnFalse() { Boolean b = Utils.isNullRuntimeException("bar", "foo"); assert (b.equals(false)); }
public static boolean isNullRuntimeException(final Object cObj, final String name) { boolean rtn = false; rtn = cObj == null; if (rtn) { throw new RuntimeException(name + " cannot be null!"); } return rtn; }
Utils { public static boolean isNullRuntimeException(final Object cObj, final String name) { boolean rtn = false; rtn = cObj == null; if (rtn) { throw new RuntimeException(name + " cannot be null!"); } return rtn; } }
Utils { public static boolean isNullRuntimeException(final Object cObj, final String name) { boolean rtn = false; rtn = cObj == null; if (rtn) { throw new RuntimeException(name + " cannot be null!"); } return rtn; }  }
Utils { public static boolean isNullRuntimeException(final Object cObj, final String name) { boolean rtn = false; rtn = cObj == null; if (rtn) { throw new RuntimeException(name + " cannot be null!"); } return rtn; }  static String getVersion(); static URL getResource(final String resource); static InputStream getResourceAsStream(final String resource); static String getResourceAsString(final String resource); static String getFilename(final String name); static boolean createFile(final String filename); static void appendToFile(final String str, final String filename); static void writeToFile(final String str, final String filename); static boolean deleteFilename(final String name); static boolean isWin(); static boolean isMac(); static boolean isUnix(); static ExecCommand executeAndWaitForCommand(final String cmd); static String getTimeString(); static String getWorkingDirectory(); static String getFileSeparator(); static String getPath(final String[] folders); static String getPathFile(final String[] folders); static String getNewLine(); static String addIndent(final int numIndent, final String str); static String getTabCharacter(); static String getTabCharacterRepeat(final int num); static boolean isBoolean(final Object obj); static boolean isLong(final Object obj); static boolean isDouble(final Object obj); static boolean isString(final Object obj); static boolean isNullRuntimeException(final Object cObj, final String name); static Boolean getBoolean(final String str); static Byte getByte(final String str); static Character getCharacter(final String str); static Short getShort(final String str); static Integer getInteger(final String str); static Long getLong(final String str); static Float getFloat(final String str); static Double getDouble(final String str); static String getString(final String str); static void exit(final int exit); static int random(final int min, final int max); static int random(final int min, final int max, final long seed); }
Utils { public static boolean isNullRuntimeException(final Object cObj, final String name) { boolean rtn = false; rtn = cObj == null; if (rtn) { throw new RuntimeException(name + " cannot be null!"); } return rtn; }  static String getVersion(); static URL getResource(final String resource); static InputStream getResourceAsStream(final String resource); static String getResourceAsString(final String resource); static String getFilename(final String name); static boolean createFile(final String filename); static void appendToFile(final String str, final String filename); static void writeToFile(final String str, final String filename); static boolean deleteFilename(final String name); static boolean isWin(); static boolean isMac(); static boolean isUnix(); static ExecCommand executeAndWaitForCommand(final String cmd); static String getTimeString(); static String getWorkingDirectory(); static String getFileSeparator(); static String getPath(final String[] folders); static String getPathFile(final String[] folders); static String getNewLine(); static String addIndent(final int numIndent, final String str); static String getTabCharacter(); static String getTabCharacterRepeat(final int num); static boolean isBoolean(final Object obj); static boolean isLong(final Object obj); static boolean isDouble(final Object obj); static boolean isString(final Object obj); static boolean isNullRuntimeException(final Object cObj, final String name); static Boolean getBoolean(final String str); static Byte getByte(final String str); static Character getCharacter(final String str); static Short getShort(final String str); static Integer getInteger(final String str); static Long getLong(final String str); static Float getFloat(final String str); static Double getDouble(final String str); static String getString(final String str); static void exit(final int exit); static int random(final int min, final int max); static int random(final int min, final int max, final long seed); static final Pattern SEM_VER_PATTERN; }