use of com.agiletec.aps.system.common.entity.parse.attribute.MonoTextAttributeHandler in project entando-core by entando.
the class UserProfileManagerTest method createFakeProfile.
private IApsEntity createFakeProfile(String defaultProfileTypeCode) {
UserProfile userProfile = new UserProfile();
MonoTextAttribute monoTextAttribute = new MonoTextAttribute();
monoTextAttribute.setName("Name");
monoTextAttribute.setHandler(new MonoTextAttributeHandler());
userProfile.addAttribute(monoTextAttribute);
userProfile.setTypeCode(defaultProfileTypeCode);
return userProfile;
}
Aggregations