user2.setAttribute("name3", "value3");
user2.store(con);
user2.setAttribute("name1", "newvalue1");
user2.setAttribute("name3", "");
user2.removeAttribute("name2");
assertEquals("Det skall finnas tv� attribut", 2, user2.getAttributes().size());
user2.store(con);
user1 = (UserBean)UserFinderBase.findByPrimaryKey(con, new UserKey(user2.getId()));
assertEquals("Det skall finnas ett attribut", 1, user1.getAttributes().size());