@Test
public void streamZeroWindowUpdateIncrementsConnectionWindow() throws Exception {

    Http2Connection connection = frameCodec.connection();
    Http2LocalFlowController localFlow = connection.local().flowController();
    int initialWindowSizeBefore = localFlow.initialWindowSize();
    int windowUpdate = 1024;
    channel.write(new DefaultHttp2WindowUpdateFrame(windowUpdate).stream(CONNECTION_STREAM));
    assertEquals(initialWindowSizeBefore + windowUpdate, localFlow.initialWindowSize());
}