private static Model stubAccount(Model parentAccount, TestEntityType accountType, int num) {
final Model m = stubModel(accountType, null, true, accountType.descriptor() + " " + num);
m
.set(new EnumPropertyValue("status", new PropertyMetadata(PropertyType.ENUM, false, true, 16),
AccountStatus.OPEN));
m.set(new BooleanPropertyValue("persistPymntInfo", new PropertyMetadata(PropertyType.BOOL, false, true, -1),
Boolean.TRUE));
m.set(new StringPropertyValue("billingModel", new PropertyMetadata(PropertyType.STRING, false, true, 32),
"a billing model"));
m.set(new StringPropertyValue("billingCycle", new PropertyMetadata(PropertyType.STRING, false, true, 32),
"a billing cycle"));