@Test
public void rstStreamNoExtraPayload() {

    ByteBuffer buffer = ByteBuffer.wrap(TestMessages.RST_STREAM_NO_EXTRA_PAYLOAD_BUFFER);
    Http2RstStreamFrame frame = (Http2RstStreamFrame) decoder.decode(buffer, context);
    assertNotNull(frame);
    assertEquals(4, frame.getLength());
    assertEquals(3, frame.getType());
    assertEquals(0x00, frame.getFlags());
    assertEquals(32, frame.getStreamID());
    assertEquals(256, frame.getErrorCode());
}