assertTrue("Invalid match for CPF", Pattern.matches("\\d{11}", value));
}
@Test
public void randomFormattedCpf() {
String value = new CpfFunction(true).generateValue();
assertNotNull("Generated formatted CPF can not be null", value);
assertTrue("Invalid match for CPF", Pattern.matches("\\d{3}.\\d{3}.\\d{3}-\\d{2}", value));
}