@Test
public void testExecute() throws Exception {

    HttpServletRequest request = createMock(HttpServletRequest.class);
    Map<String, String> expectedColumns = new HashMap<String, String>();
    expectedColumns.put("Employee.fullTime", "Employee&nbsp;&gt; fullTime");
    expectedColumns.put("Employee.age", "Employee&nbsp;&gt; age");
    expectedColumns.put("Employee.end", "Employee&nbsp;&gt; end");
    HttpSession session = null;
    expect(request.getSession()).andReturn(session);
    expect(request.getAttribute("queryXML")).andReturn(QUERY_XML);
    expect(request.getAttribute("table")).andReturn("FOO");
    request.setAttribute("availableColumns", expectedColumns);
    replay(request);
    ActionForward fwd = controller.execute(null, null, request, null);
    assertNull(fwd);
    verify(request);
}