@Override
    public Endpoint<Http2LocalFlowController> local() {
        return localEndpoint;
    }
@Test
    public void newStreamNotForClientShouldThrow() throws Http2Exception {
        assertThrows(Http2Exception.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                client.local().createStream(10, true);
            }
        });
    }