@Test
public void decodeNoHeaderFragment() {

    Http2Connection connection = new Http2Connection();
    ByteBuffer buffer = ByteBuffer.wrap(TestMessages.CONTINUATION_NO_HEADER_FRAGMENT_BUFFER);
    Http2ContinuationFrame frame = (Http2ContinuationFrame) connection.decode(buffer);
    assertNotNull(frame);
    assertEquals(0, frame.getLength());
    assertEquals(9, frame.getType());
    assertEquals(0x00, frame.getFlags());
    assertEquals(50, frame.getStreamID());
    assertEquals(0, frame.getHeaderBlockFragment().length);
}