assertEquals(alias3.getNamespaceURI(), "http:3portals.apache.org/events");
assertEquals(alias3.getPrefix(), "p");
List<EventDefinitionReference> refs = portlet.getSupportedProcessingEvents();
assertEquals(refs.size(), 2);
EventDefinitionReference ref1 = refs.get(0);
assertEquals(ref1.getName(), "plainOldEvent");
EventDefinitionReference ref2 = refs.get(1);
QName ref2QName = ref2.getQName();
assertEquals(ref2QName, new QName("http:portals.apache.org/events", "prefixedEvent", "x"));
List<EventDefinitionReference> pubRefs = portlet.getSupportedPublishingEvents();
assertEquals(pubRefs.size(), 2);
EventDefinitionReference pubRef1 = pubRefs.get(0);
assertEquals(pubRef1.getName(), "local-1");
EventDefinitionReference pubRef2 = pubRefs.get(1);
QName pubRef2QName = pubRef2.getQName();
assertEquals(pubRef2QName, new QName("http:portals.apache.org/events", "qualifiedEvent"));
List<String> supportedRenderParams = portlet.getSupportedPublicRenderParameters();
assertEquals(supportedRenderParams.size(), 2);
String p1 = supportedRenderParams.get(0);