From f08aceb175e8b99167dd82e0ad1ca9376c5d89ca Mon Sep 17 00:00:00 2001 From: spokenbird Date: Wed, 6 Mar 2024 17:10:13 -0800 Subject: [PATCH] Update ApplicantDetailsPreparerTest --- .../app/preparers/ApplicantDetailsPreparerTest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/mdbenefits/app/preparers/ApplicantDetailsPreparerTest.java b/src/test/java/org/mdbenefits/app/preparers/ApplicantDetailsPreparerTest.java index 615948e9..59628d68 100644 --- a/src/test/java/org/mdbenefits/app/preparers/ApplicantDetailsPreparerTest.java +++ b/src/test/java/org/mdbenefits/app/preparers/ApplicantDetailsPreparerTest.java @@ -25,7 +25,8 @@ void setup() { .withPersonalInfo("John", "Doe", "10", "12", "1999", "", "", "", "", "") .with("isApplicantApplying", "Yes") - .with("isApplicantPregnant", "No") + .with("isApplicantPregnant", "Yes") + .with("applicantHasDisability", "Yes") .with("applicantRace[]", List.of(RaceType.ASIAN.name(), RaceType.AMERICAN_INDIAN.name())) .with("applicantEthnicity", EthnicityType.HISPANIC_OR_LATINO.name()) .build(); @@ -43,6 +44,10 @@ public void testFields() { .isEqualTo(new SingleField("applicantRace", "1,2", null)); assertThat(result.get("applicantEthnicity")) .isEqualTo(new SingleField("applicantEthnicity", "1", null)); + assertThat(result.get("applicantIsPregnantName")) + .isEqualTo(new SingleField("applicantIsPregnantName", "See cover page", null)); + assertThat(result.get("applicantHasDisabilityName")) + .isEqualTo(new SingleField("applicantHasDisabilityName", "See cover page", null)); } @Test