@Test public void testSetAndGetConsentShouldSetAndReturnProperValue() { Boolean testConsent = true; assertNull(annualReview.getConsent()); annualReview.setConsent(testConsent); assertEquals(testConsent, annualReview.getConsent()); }