@Test
public void headersPaddingNoPriority() {

    ByteBuffer buffer = ByteBuffer.wrap(TestMessages.HEADERS_PADDING_NO_PRIORITY_BUFFER);
    Http2HeadersFrame frame = (Http2HeadersFrame) decoder.decode(buffer, context);
    assertNotNull(frame);
    assertEquals(18, frame.getLength());
    assertEquals(1, frame.getType());
    assertEquals(0x08, frame.getFlags());
    assertEquals(3, frame.getStreamID());
    assertEquals(1, frame.getHeaderBlockFragment().length);
    assertEquals(0x0082, frame.getHeaderBlockFragment()[0] & 0x00FF);
    assertEquals(16,  frame.getPadding().length);
    assertArrayEquals(new byte[] {0x54, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6E, 0x67, 0x2E}, frame.getPadding());
}