@BeforeClass
public static void setUp() throws Exception {
server = new Server(10043);
ServletContextHandler context = new ServletContextHandler(server, "/",
ServletContextHandler.SESSIONS);
CallbackStatement statement = mock(CallbackStatement.class);
CallbackSerlvet servlet = new CallbackSerlvet(resource, statement);
context.addServlet(new ServletHolder(servlet), "/");
server.start();
int timer = 0;
while (!server.isRunning() && timer < TIMEOUT) {