@Test public void testEmailIsNotValidMissingPrefix() { String validEmail = "@blubb.de"; assertThat(StringHelper.isValidEmail(validEmail)).isFalse(); }
public static boolean isValidEmail(final String email) { return EMAIL_PATTERN.matcher(email.trim().toLowerCase()).matches(); }
StringHelper { public static boolean isValidEmail(final String email) { return EMAIL_PATTERN.matcher(email.trim().toLowerCase()).matches(); } }
StringHelper { public static boolean isValidEmail(final String email) { return EMAIL_PATTERN.matcher(email.trim().toLowerCase()).matches(); }  }
StringHelper { public static boolean isValidEmail(final String email) { return EMAIL_PATTERN.matcher(email.trim().toLowerCase()).matches(); }  static boolean isValidEmail(final String email); static String getDataTypeFromFileName(String fileName); static String addNumberToFileName(String fileName, int number); static boolean isEmpty(final String queryString); static String getTextForLanguage(String text, String lang); }
StringHelper { public static boolean isValidEmail(final String email) { return EMAIL_PATTERN.matcher(email.trim().toLowerCase()).matches(); }  static boolean isValidEmail(final String email); static String getDataTypeFromFileName(String fileName); static String addNumberToFileName(String fileName, int number); static boolean isEmpty(final String queryString); static String getTextForLanguage(String text, String lang); static final String UNKNOWN_DATATYPE; static final Pattern EMAIL_PATTERN; }