use of org.apereo.portal.layout.dlm.remoting.GroupListHelperImpl in project uPortal by Jasig.
the class GroupListHelperImplTest method testGetEntityByGroupMemberNull.
@Test(expected = IllegalArgumentException.class)
public void testGetEntityByGroupMemberNull() {
GroupListHelperImpl helper = new GroupListHelperImpl();
helper.getEntity(null);
}
use of org.apereo.portal.layout.dlm.remoting.GroupListHelperImpl in project uPortal by Jasig.
the class GroupListHelperImplTest method testGetEntityTypesForGroupTypePortlet.
@Test(expected = IllegalArgumentException.class)
public void testGetEntityTypesForGroupTypePortlet() {
GroupListHelperImpl helper = new GroupListHelperImpl();
Set<String> res = helper.getEntityTypesForGroupType(EntityEnum.PORTLET.name());
}
use of org.apereo.portal.layout.dlm.remoting.GroupListHelperImpl in project uPortal by Jasig.
the class GroupListHelperImplTest method testGetEntityForPrincipalNull.
@Test(expected = IllegalArgumentException.class)
public void testGetEntityForPrincipalNull() {
GroupListHelperImpl helper = new GroupListHelperImpl();
helper.getEntityForPrincipal(null);
}
use of org.apereo.portal.layout.dlm.remoting.GroupListHelperImpl in project uPortal by Jasig.
the class GroupListHelperImplTest method testGetEntityBeansNull.
@Test
public void testGetEntityBeansNull() {
GroupListHelperImpl helper = new GroupListHelperImpl();
assertEquals(Collections.EMPTY_LIST, helper.getEntityBeans(null));
}
use of org.apereo.portal.layout.dlm.remoting.GroupListHelperImpl in project uPortal by Jasig.
the class GroupListHelperImplTest method testPopulateChildrenBeanNull.
@Test(expected = IllegalArgumentException.class)
public void testPopulateChildrenBeanNull() {
GroupListHelperImpl helper = new GroupListHelperImpl();
helper.lookupEntityName(null);
}
Aggregations