@Test
    void testProcessingHandlerOutputsTrace() {
        List<Chain<Processor>> chains = new ArrayList<>();
        chains.add(defaultChain);
        driver = new ProcessingTestDriver(chains);

        assertEquals(trace1, driver.sendRequest("http://localhost/?tracelevel=1").readAll().substring(0, trace1.length()));
        assertEquals(trace1WithFullResult, driver.sendRequest("http://localhost/?tracelevel=1").readAll());
        assertEquals(trace4, driver.sendRequest("http://localhost/?tracelevel=4").readAll().substring(0, trace4.length()));
        assertEquals(trace5, driver.censorDigits(driver.sendRequest("http://localhost/?tracelevel=5").readAll().substring(0, trace5.length())));
        assertEquals(trace6, driver.censorDigits(driver.sendRequest("http://localhost/?tracelevel=6").readAll().substring(0, trace6.length())));
    }
Tests processing handler scenarios end to end.

@author bratseth
@author gjoranv
@author Tony Vaagenes
container-core/src/test/java/com/yahoo/processing/handler/ProcessingHandlerTestCase.java