use of org.motechproject.security.domain.MotechUser in project motech by motech.
the class UserControllerTest method users.
private List<MotechUserProfile> users() {
MotechUser user = new MotechUser("john", "pass", "john@doe.com", "ext", asList("role1", "role2"), null, Locale.ENGLISH);
MotechUserProfile profile1 = new MotechUserProfile(user);
user = new MotechUser("Bob", "pass2", "bob@example.com", "ext2", Collections.<String>emptyList(), null, Locale.GERMAN);
MotechUserProfile profile2 = new MotechUserProfile(user);
return asList(profile1, profile2);
}
Aggregations