OsmUser user3 = new OsmUser(13, "aUser2");
OsmUser user5 = new OsmUser(14, "");
user1.store(sw, scr);
user3.store(sw, scr);
user5.store(sw, scr);
StoreReader sr = new DataInputStoreReader(new DataInputStream(new ByteArrayInputStream(out.toByteArray())));
OsmUser user2 = new OsmUser(sr, scr);
OsmUser user4 = new OsmUser(sr, scr);
OsmUser user6 = new OsmUser(sr, scr);
assertEquals("Object not equal after retrieval from store", user1, user2);
assertEquals("Object not equal after retrieval from store", user3, user4);