doChat.doUser.update(u2);
(u1.friends_ = u1.friends).add(u2);
doChat.doSign.inUp(u1);
doChat.doUser.update(u1);
Chat c = new Chat();
c.in = u2;
c.text = clob("post1");
c.datime = DATE0;
doChat.post(c, null);
doChat.doSign.inUp(u2);
c.in = u1;
c.text = clob("post1");
doChat.post(c, null);
Chat cc = new Chat();
cc.in = u1;
cc.datime = c.datime;
assertEquals(0, doChat.read(cc).size());
cc.datime = new Date(c.datime.getTime() - 1);
asserts(BAG, new Chat[] { c }, doChat.read(cc));