Examples of USPersidnoFormatter


Examples of is.us.formatters.USPersidnoFormatter

  @Test
  public void parsing() throws ParseException {
    String input = "091179-4829";
    String expected = "0911794829";

    USPersidnoFormatter formatter = new USPersidnoFormatter();
    assertEquals( formatter.parseObject( input ), expected );
  }
View Full Code Here

Examples of is.us.formatters.USPersidnoFormatter

  @Test
  public void formatting() {
    String input = "0911794829";
    String expected = "091179-4829";

    USPersidnoFormatter formatter = new USPersidnoFormatter();
    assertEquals( formatter.format( input ), expected );
    assertEquals( formatter.format( null ), "" );
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.