@Test public void testSaveAndProceedNext_VerifiedRoles() { getAccountConfigurationData().getRoles().add(INVESTIGATOR); setUpGridSessionInformation(INVESTIGATOR.getGroupName(), INVESTIGATOR.getVerifiedGroupName()); assertEquals(VerificationPageFlowAction.USER_HOME_RETURN, action.saveAndProceedNext()); }
@Test public void testIsVerificationRequiredForRoles_VerifiedInvestigator() { getAccountConfigurationData().getRoles().add(INVESTIGATOR); setUpGridSessionInformation(INVESTIGATOR.getGroupName(), INVESTIGATOR.getVerifiedGroupName()); assertEquals(false, action.isVerificationRequiredForRoles()); }