response.assertStatusCode(KnownStatusCode.HTTP_200_OK);
response.assertContains("name='' email=''");
}
@Test
public void testRenderEditPage() {
<BUG>int id = loadDataInDb();
</BUG>
HttpRequest req = Requests.createRequest(KnownHttpMethod.GET, "/user/edit/"+id);
server.incomingRequest(req, new RequestId(0), true, socket);
List<FullResponse> responses = socket.getResponses();

response.assertStatusCode(KnownStatusCode.HTTP_200_OK);
response.assertContains("<a href=`/user/new`>Add User</a>".replace("`", "\""));
response.assertContains("<a href=`/user/edit/1`>Edit</a>".replace("`", "\""));
}
@Test
public void testRenderAddPage() {
HttpRequest req = Requests.createRequest(KnownHttpMethod.GET, "/user/new");
server.incomingRequest(req, new RequestId(0), true, socket);
List<FullResponse> responses = socket.getResponses();
