@Test
    @Disabled
    void testNestedEagerStreamedRenderingOnFreeze() {
        try {
            FreezingDataSource source1 = new FreezingDataSource("s1");
            FreezingDataSource source2 = new FreezingDataSource("s2");
            FreezingDataSource source3 = new FreezingDataSource("s3");
            Chain<Processor> mainChain = new Chain<>("main",
                    new ProcessorLibrary.StringDataAdder("main-data"),
                    new ProcessorLibrary.EagerReturnFederator(true,
                            new Chain<Processor>(source1),
                            new Chain<Processor>(source2),
                            new Chain<Processor>(source3)));
            driver = new ProcessingTestDriver(mainChain);
            ProcessingTestDriver.MockResponseHandler responseHandler = driver.sendRequest("http://localhost/?chain=main");
            assertEquals(0, responseHandler.available(), "No data is available at this point");
            source1.freeze.set(true);
            assertEquals("{\"datalist\":[{\"datalist\":[{\"data\":\"s1d1\"}", responseHandler.read(), "Received because the parent list and source1 list is frozen");

            source2.addLastData.set(true); // No effect as we are working on source1, which is not completed yet
            assertEquals("{\"datalist\":[{\"data\":\"s1d1\"}", responseHandler.read());
            source1.addLastData.set(true); // Make source 1 and 2 available
            assertEquals(",{\"data\":\"d2\"}]}", responseHandler.read());
            assertNull(responseHandler.read(), "Transmission completed");
        }
        catch (Throwable t) {
            t.printStackTrace();
            throw t;
        }
    }
Tests that the ResponseStatus takes precedence over errors
container-core/src/test/java/com/yahoo/processing/handler/ProcessingHandlerTestCase.java