src/de/htwsaar/demo/Client/ClientTest.java
@org.junit.jupiter.api.BeforeAll
    static void preamble() throws IOException {

        // Create server
        server = new Server("::", 8080);

        // Add Routers
        server.addRouter("/", new Router(Demo.class));

        var runner = new Runnable() {
            @Override
            public void run() {
                // Start the HTTP Server
                server.start();
            }
        };

        new Thread(runner).start();
    }
/**
     * Spins up a local server
     *
     * @throws IOException
     */
Spins up a local server
@throws IOException
Spins up a local server @throws IOException
@org.junit.jupiter.api.BeforeAll
    static void preamble() throws IOException {
        server = new Server("::", 8080);
        server.addRouter("/", new Router(Demo.class));
        var runner = new Runnable() {
            @Override
            public void run() {
                server.start();
            }
        };
        new Thread(runner).start();
    }
@ org . junit . jupiter . api . BeforeAll static void preamble ( ) throws IOException { server = new Server ( "::" , 8080 ) ; server . addRouter ( "/" , new Router ( Demo . class ) ) ; var runner = new Runnable ( ) { @ Override public void run ( ) { server . start ( ) ; } } ; new Thread ( runner ) . start ( ) ; }
Spins up a local server
 @throws IOException
Spins up a local server @throws IOException
// Create server // Add Routers // Start the HTTP Server