public int initialWindowLength()
    {
        return CongestionControl.receiverWindowLength(ccOutcome);
    }
@Test
    void shouldSetWindowLengthFromTermLength()
    {
        final UdpChannel channelWithWindow = UdpChannel.parse("aeron:udp?endpoint=127.0.0.1:9999|rcv-wnd=8192");
        final MediaDriver.Context context = new MediaDriver.Context().initialWindowLength(16536);
        final int termLength = 8192;

        final StaticWindowCongestionControl staticWindowCongestionControl = new StaticWindowCongestionControl(
            0, channelWithWindow, 0, 0, termLength, 0, null, null, null, context, null);

        assertEquals(termLength / 2, staticWindowCongestionControl.initialWindowLength());
    }