### Question:
Utils { public static boolean isEmailEmpty(String email) { return StringUtils.isEmpty(email) || "your@email.com".equalsIgnoreCase(email); } private  Utils(); static Pattern safePatternCompile(String pattern); static boolean isClassLoaded(String className); static void logAndSendMessage(CommandSender sender, String message); static void logAndSendWarning(CommandSender sender, String message); static boolean isCollectionEmpty(Collection<?> coll); static boolean isEmailEmpty(String email); static final long MILLIS_PER_MINUTE; static final long MILLIS_PER_HOUR; }### Answer:
@Test public void shouldDetectIfEmailIsEmpty() { assertThat(Utils.isEmailEmpty(""), equalTo(true)); assertThat(Utils.isEmailEmpty(null), equalTo(true)); assertThat(Utils.isEmailEmpty("your@email.com"), equalTo(true)); assertThat(Utils.isEmailEmpty("Your@Email.com"), equalTo(true)); assertThat(Utils.isEmailEmpty("my@example.org"), equalTo(false)); assertThat(Utils.isEmailEmpty("hey"), equalTo(false)); }