assertEquals("should contain user.name.given", "Test Dude", (String) userInfo.get("user.name.given"));
assertEquals("should contain user.name.family", "Dudley", (String) userInfo.get("user.name.family"));
assertNull("should not contain user.home-info.online.email", userInfo.get("user.home-info.online.email"));
// With linked attributes
ExtendedPortletMetadata extMetaData = new ExtendedPortletMetadata(new FileReader("./test/testdata/deploy/jetspeed-portlet.xml"), app);
extMetaData.load();
userInfo = uim.getUserInfoMap(app.getId(), request);
assertNotNull(PortletRequest.USER_INFO + " should not be null", userInfo);
assertEquals("should contain user-name-given", "Test Dude", (String) userInfo.get("user-name-given"));
assertEquals("should contain user-name-family", "Dudley", (String) userInfo.get("user-name-family"));