public class TaskLifeCycleMinaTest extends TaskLifeCycleBaseTest {
@Override
protected void setUp() throws Exception {
super.setUp();
server = new MinaTaskServer(taskService);
Thread thread = new Thread(server);
thread.start();
Thread.sleep(500);
client = new TaskClient(new MinaTaskClientConnector("client 1",
new MinaTaskClientHandler(SystemEventListenerFactory.getSystemEventListener())));