    @Test
    public void testStartAndStop () throws InterruptedException {

        Vertx vertx = Vertx.vertx();
        IGameServer gameServer = Mockito.mock(IGameServer.class);

        //start server
        TCPFrontend server = new TCPFrontend(vertx, gameServer);
        //server.start();

        Thread.sleep(1000);

        //stop server
        server.stop();

        vertx.close();
    }