@Override
    @SuppressWarnings("CallToSystemGC")
    public void execute(Map<String, List<String>> parameters, PrintWriter output) {
        final int count = parseRuns(parameters);
        for (int i = 0; i < count; i++) {
            output.println("Running GC...");
            output.flush();
            runtime.gc();
        }

        output.println("Done!");
    }
@Test
    void defaultsToOneRunIfTheQueryParamDoesNotParse() throws Exception {
        task.execute(Collections.singletonMap("runs", Collections.singletonList("$")), output);

        verify(runtime, times(1)).gc();
    }