CountryBean country2 = (CountryBean)CountryFinderBase.findByPrimaryKey(con, new CountryKey(country1.getId()));
assertEquals("Countryna skall vara lika", country1, country2);
assertEquals("Attributen skall vara lika", country1.getAttribute("name1"), country2.getAttribute("name1"));
//Radera attribut
country2.removeAttribute("name1");
assertNull("Attributet skall inte finnas", country2.getAttribute("name1"));
country2.store(con);
country1 = (CountryBean)CountryFinderBase.findByPrimaryKey(con, new CountryKey(country2.getId()));
assertNull("Attributet skall inte finnas", country2.getAttribute("name1"));