@Test(expected = Http2Exception.class)
public void createShouldThrowWhenMaxAllowedStreamsOpenExceeded() throws Http2Exception {

    server.local().maxActiveStreams(0);
    server.local().createStream(2, true);
}