@Test public void testSetAndGetAdherenceIssuesCommentsShouldSetAndReturnProperValue() { String testAdherenceIssuesComments = "Too busy to take T3"; assertNull(annualReview.getAdherenceIssuesComments()); annualReview.setAdherenceIssuesComments(testAdherenceIssuesComments); assertEquals(testAdherenceIssuesComments, annualReview.getAdherenceIssuesComments()); }
@Test public void testSetAndGetDifficultySwallowingCommentsShouldSetAndReturnProperValue() { String testDifficultySwallowingComments = "Pill too large"; assertNull(annualReview.getDifficultySwallowingComments()); annualReview.setDifficultySwallowingComments(testDifficultySwallowingComments); assertEquals(testDifficultySwallowingComments, annualReview.getDifficultySwallowingComments()); }
@Test public void testSetAndGetAdherenceIssuesShouldSetAndReturnProperValue() { Boolean testAdherenceIssues = true; assertNull(annualReview.getAdherenceIssues()); annualReview.setAdherenceIssues(testAdherenceIssues); assertEquals(testAdherenceIssues, annualReview.getAdherenceIssues()); }
@Test public void testSetAndGetAdministerAllMedicationShouldSetAndReturnProperValue() { Boolean testAdministerAllMedication = false; assertNull(annualReview.getAdministerAllMedication()); annualReview.setAdministerAllMedication(testAdministerAllMedication); assertEquals(testAdministerAllMedication, annualReview.getAdministerAllMedication()); }
@Test public void testSetAndGetDifficultySwallowingShouldSetAndReturnProperValue() { Boolean testDifficultySwallowing = true; assertNull(annualReview.getDifficultySwallowing()); annualReview.setDifficultySwallowing(testDifficultySwallowing); assertEquals(testDifficultySwallowing, annualReview.getDifficultySwallowing()); }
@Test public void testSetAndGetTrimesterShouldSetAndReturnProperValue() { String testTrimester = "First"; assertNull(annualReview.getTrimester()); annualReview.setTrimester(testTrimester); assertEquals(testTrimester, annualReview.getTrimester()); }
@Test public void testSetAndGetBreastfeedingShouldSetAndReturnProperValue() { Boolean testBreastfeeding = false; assertNull(annualReview.getBreastfeeding()); annualReview.setBreastfeeding(testBreastfeeding); assertEquals(testBreastfeeding, annualReview.getBreastfeeding()); }
@Test public void testSetAndGetPregantShouldSetAndReturnProperValue() { Boolean testPregnant = true; assertNull(annualReview.getPregnant()); annualReview.setPregnant(testPregnant); assertEquals(testPregnant, annualReview.getPregnant()); }
@Test public void testSetAndGetLifestyleFactorsShouldSetAndReturnProperValue() { String testLifestyleFactors = "Sits in front of a desk all day"; assertNull(annualReview.getLifestyleFactors()); annualReview.setLifestyleFactors(testLifestyleFactors); assertEquals(testLifestyleFactors, annualReview.getLifestyleFactors()); }
@Test public void testSetAndGetSmokingStatusShouldSetAndReturnProperValue() { String testSmokingStatus = "Never Smoked"; assertNull(annualReview.getSmokingStatus()); annualReview.setSmokingStatus(testSmokingStatus); assertEquals(testSmokingStatus, annualReview.getSmokingStatus()); }
@Test public void testSetAndGetShareWithDoctorShouldSetAndReturnProperValue() { Boolean testShareWithDoctor = true; assertNull(annualReview.getShareWithDoctor()); annualReview.setShareWithDoctor(testShareWithDoctor); assertEquals(testShareWithDoctor, annualReview.getShareWithDoctor()); }
@Test public void testSetAndGetUnderstandMedicationCommentsShouldSetAndReturnProperValue() { String testUnderstandMedicationComments = "Does not take Tylenol 3"; assertNull(annualReview.getUnderstandMedicationComments()); annualReview.setUnderstandMedicationComments(testUnderstandMedicationComments); assertEquals(testUnderstandMedicationComments, annualReview.getUnderstandMedicationComments()); }