use of gov.ca.cwds.data.legacy.cms.entity.ChildClient in project api-core by ca-cwds.
the class R00612Test method createClient.
private ChildClient createClient(LocalDate birthDay) {
ChildClient client = new ChildClient();
client.setIdentifier(CLIENT_ID);
client.setBirthDate(birthDay);
return client;
}
use of gov.ca.cwds.data.legacy.cms.entity.ChildClient in project api-core by ca-cwds.
the class R02761Test method birthDateNotSet.
@Test
public void birthDateNotSet() throws Exception {
ChildClient client = new ChildClient();
client.setIdentifier(CLIENT_IDENTIFIER);
clientEntityAwareDTO.setEntity(client);
List<MedicalEligibilityApplication> medicalEligibilityApplications = generateListOfValidMedicalEligibilityApplications();
clientEntityAwareDTO.getMedicalEligibilityApplications().addAll(medicalEligibilityApplications);
checkRuleSatisfied(RULE_NAME);
}
Aggregations