@Test public void testManageCredentialsAjaxEnter() { action.setPage(null); assertEquals(FirebirdUIConstants.RETURN_FIELDS_PAGE, action.manageCredentialsAjaxEnter()); action.setPage("CLOSE"); assertEquals("CLOSE", action.manageCredentialsAjaxEnter()); }
@Before public void setUp() throws Exception { super.setUp(); action.setProfile(profile); action.setServletRequest(getMockRequest()); action.setPage(CERTIFICATION.name()); }