Package yalp.data.validation

Examples of yalp.data.validation.PhoneCheck


    // missing parenthesis
    assertTrue(test("(0295 4167216", false));
  }

  private boolean test(String number, boolean expected) {
    PhoneCheck check = new PhoneCheck();
    return expected == check.isSatisfied(null, number, null, null);
  }
View Full Code Here

TOP

Related Classes of yalp.data.validation.PhoneCheck

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.