Package br.gov.component.demoiselle.common.pojo.helpers

Examples of br.gov.component.demoiselle.common.pojo.helpers.CEP


public class CEPTest{
 
  @Test
  public void testCreateCEP()
  {
    CEP cep = new CEP();
   
    assertNotNull(cep);
   
    assertTrue(cep instanceof CEP);
  }
View Full Code Here


  }
 
  @Test
  public void testGetParts()
  {
    CEP cep = new CEP();
   
    cep.setNumber("80520170");
   
    assertTrue(cep.getCEPBasicNumber().equals("80520"));
   
    assertTrue(cep.getCEPNumberExtension().equals("170"));
   
    assertTrue(cep.getFormattedNumber().equals("80.520-170"));
   
    assertTrue(cep.getNumber().equals("80520170"));
  }
View Full Code Here

TOP

Related Classes of br.gov.component.demoiselle.common.pojo.helpers.CEP

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.