Search in sources :

Example 16 with PortletCategoryBean

use of org.apereo.portal.layout.dlm.remoting.registry.v43.PortletCategoryBean in project uPortal by Jasig.

the class PortletCategoryBeanTest method testEqualsDifferentID.

@Test
public void testEqualsDifferentID() {
    PortletCategoryBean pcb1 = buildTestPortletCategoryBean("id1", "name1", "desc");
    PortletCategoryBean pcb2 = buildTestPortletCategoryBean("id2", "name2", "desc");
    assertFalse(pcb1.equals(pcb2));
}
Also used : PortletCategoryBean(org.apereo.portal.layout.dlm.remoting.registry.v43.PortletCategoryBean) Test(org.junit.Test)

Aggregations

PortletCategoryBean (org.apereo.portal.layout.dlm.remoting.registry.v43.PortletCategoryBean)16 Test (org.junit.Test)10 PortletCategory (org.apereo.portal.portlet.om.PortletCategory)5 HashSet (java.util.HashSet)4 TreeSet (java.util.TreeSet)4 PortletDefinitionBean (org.apereo.portal.layout.dlm.remoting.registry.v43.PortletDefinitionBean)4 SortedSet (java.util.SortedSet)3 TreeMap (java.util.TreeMap)3 EntityIdentifier (org.apereo.portal.EntityIdentifier)3 IPortletDefinition (org.apereo.portal.portlet.om.IPortletDefinition)3 IAuthorizationPrincipal (org.apereo.portal.security.IAuthorizationPrincipal)3 Locale (java.util.Locale)2