@Test public void badTests() { for (String test : badTests) { assertFalse(test, PhoneNumberValidator.valid(test)); } }
public static boolean valid(String num) { return PHONENUM_PATTERN.matcher(num).matches(); }
PhoneNumberValidator { public static boolean valid(String num) { return PHONENUM_PATTERN.matcher(num).matches(); } }
PhoneNumberValidator { public static boolean valid(String num) { return PHONENUM_PATTERN.matcher(num).matches(); }  }
PhoneNumberValidator { public static boolean valid(String num) { return PHONENUM_PATTERN.matcher(num).matches(); }  static boolean valid(String num); }
PhoneNumberValidator { public static boolean valid(String num) { return PHONENUM_PATTERN.matcher(num).matches(); }  static boolean valid(String num); static final String PATTERN_STRING; static final Pattern PHONENUM_PATTERN; }