@Override
  protected void setUp() throws Exception {
    super.setUp();
    server = startServer(taskService);

    client = new TaskClient(createTestTaskClientConnector("client 1", (TestTaskServer) server));
    client.connect();
  }
 protected void tearDown() throws Exception {
   super.tearDown();
   client.disconnect();
   server.stop();
 }