package nl.tudelft.jpacman.integration;

import nl.tudelft.jpacman.Launcher;
import nl.tudelft.jpacman.game.Game;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

import static org.assertj.core.api.Assertions.assertThat;

public class StartupSystemTest {

    private Launcher launcher;

    @BeforeEach
    public void before() {
        launcher = new Launcher();
    }

    @AfterEach
    public void after() {
        launcher.dispose();
    }

    @Test
    public void gameIsRunning() {
        launcher.launch();

        getGame().start();

        assertThat(getGame().isInProgress()).isTrue();
    }


    private Game getGame() {
        return launcher.getGame();
    }
}

@@ -287,73 +287,218 @@
 t;%0A%0A
-public class StartupSystemTest %7B%0A%0A    private Launcher launcher;%0A
+/**%0A * An example test class that conducts integration tests.%0A */%0Apublic class StartupSystemTest %7B%0A%0A    private Launcher launcher;%0A%0A    /**%0A     * Start a launcher, which can display the user interface.%0A     */
 %0A   
@@ -575,24 +575,73 @@
 r();%0A    %7D%0A%0A
+    /**%0A     * Close the user interface.%0A     */%0A
     @AfterEa
@@ -700,24 +700,135 @@
 e();%0A    %7D%0A%0A
+    /**%0A     * The simplest test that just starts the%0A     * game and checks it is indeed in progress.%0A     */%0A
     @Test%0A  

Add javadocs to example system test.