String redirectUrl = saveBean("/async/save");
readBean(redirectUrl, "dean@async.xsoftware.biz");
}
@Test
public void testDbUseWhileRenderingPage() {
<BUG>Integer id = TestSyncHibernate.loadDataInDb();
</BUG>
HttpRequest req = Requests.createRequest(KnownHttpMethod.GET, "/async/dynamic/"+id);
server.incomingRequest(req, new RequestId(0), true, socket);
List<FullResponse> responses1 = socket.getResponses();

String redirectUrl = saveBean("/async/save");
readBean(redirectUrl, "dean@async.xsoftware.biz");
}
@Test
public void testDbUseWhileRenderingPage() {
Integer id = TestSyncHibernate.loadDataInDb().getId();
HttpRequest req = Requests.createRequest(KnownHttpMethod.GET, "/async/dynamic/"+id);
server.incomingRequest(req, new RequestId(0), true, socket);
List<FullResponse> responses1 = socket.getResponses();
