// Path: datagen/src/main/java/io/qala/datagen/RandomShortApi.java
// public static String numeric(int exactLength) {
//     return length(exactLength).numeric();
// }


import org.junit.Test;
import java.time.ZonedDateTime;
import java.time.temporal.ChronoUnit;
import static io.qala.datagen.RandomShortApi.numeric;
package io.qala.datagen.examples;




public class _20_BigClassTest {
    @Test public void accountNumberValidation_passesForHappyPath() {
        Account account = new Account();
        account.setCreatedTime(ZonedDateTime.now().minus(100, ChronoUnit.DAYS));
        account.setInterestRate(.2);
        account.setOpenedIn(Country.US);
        account.setPrimaryOwner(new Person("username").country(Country.AD));
        account.setSecondaryOwner(new Person("username2").country(Country.AE));
        account.setNumber("0123456789");
        account.validate();
    }
    @Test public void accountNumberValidation_passesForHappyPath_randomization() {
        Account account = Account.random();
// Path: datagen/src/main/java/io/qala/datagen/RandomShortApi.java
// public static String numeric(int exactLength) {
//     return length(exactLength).numeric();
// }


// Path: examples/src/test/java/io/qala/datagen/examples/_20_BigClassTest.java
import org.junit.Test;
import java.time.ZonedDateTime;
import java.time.temporal.ChronoUnit;
import static io.qala.datagen.RandomShortApi.numeric;

package io.qala.datagen.examples;




public class _20_BigClassTest {
    @Test public void accountNumberValidation_passesForHappyPath() {
        Account account = new Account();
        account.setCreatedTime(ZonedDateTime.now().minus(100, ChronoUnit.DAYS));
        account.setInterestRate(.2);
        account.setOpenedIn(Country.US);
        account.setPrimaryOwner(new Person("username").country(Country.AD));
        account.setSecondaryOwner(new Person("username2").country(Country.AE));
        account.setNumber("0123456789");
        account.validate();
    }
    @Test public void accountNumberValidation_passesForHappyPath_randomization() {
        Account account = Account.random();
        account.setNumber(numeric(10));