@Test
  public void testEdit() throws Exception {
    log.debug("testing edit...");
    request = newGet("/userform.html");
    request.addParameter("id", "-1"); // regular user
    request.addUserRole(Constants.ADMIN_ROLE);

    User user = c.showForm(request, new MockHttpServletResponse());
    assertEquals("Tomcat User", user.getFullName());
  }
  @Test
  public void testAdd() throws Exception {
    log.debug("testing add new user...");
    request = newGet("/userform.html");
    request.addParameter("method", "Add");
    request.addUserRole(Constants.ADMIN_ROLE);

    user = c.showForm(request, new MockHttpServletResponse());
    assertNull(user.getUsername());
  }