use of org.apereo.portal.security.provider.PersonImpl in project uPortal by Jasig.
the class MultivaluedPAGSTest method setUp.
@Before
public void setUp() {
person = new PersonImpl();
person.setUserName("testuser");
List<Object> emailAddresses = new ArrayList<Object>();
emailAddresses.add("testuser1@somewhere.com");
emailAddresses.add("testuser1@elsewhere.com");
strNbValues = emailAddresses.size();
person.setAttribute(strAttributeName, emailAddresses);
List<Object> nums = new ArrayList<Object>();
nums.add("123");
nums.add("246");
person.setAttribute(intAttributeName, nums);
}
Aggregations