use of org.apereo.portal.api.portlet.DelegationActionResponse in project uPortal by Jasig.
the class DelegationActionResponseTest method testGetRedirectLocationNull.
@Test
public void testGetRedirectLocationNull() {
delegationActionResponse = new DelegationActionResponse(null, null, null, null);
Assert.assertNull(delegationActionResponse.getRedirectLocation());
}
use of org.apereo.portal.api.portlet.DelegationActionResponse in project uPortal by Jasig.
the class DelegationActionResponseTest method testGetRedirectLocation.
@Test
public void testGetRedirectLocation() {
delegationActionResponse = new DelegationActionResponse(null, "redirect:/index.html", "renderparam");
Assert.assertEquals("redirect:/index.html", delegationActionResponse.getRedirectLocation());
}
Aggregations