@Test
public void pushPromiseNoPadding() {

    ByteBuffer buffer = ByteBuffer.wrap(TestMessages.PUSH_PROMISE_NO_PADDING_BUFFER);
    Http2PushPromiseFrame frame = (Http2PushPromiseFrame) decoder.decode(buffer, context);
    assertNotNull(frame);
    assertEquals(5, frame.getLength());
    assertEquals(5, frame.getType());
    assertEquals(0, frame.getFlags());
    assertEquals(1, frame.getStreamID());
    assertEquals(256, frame.getPromisedStreamID());
    assertEquals(1, frame.getHeaderBlockFragment().length);
    assertEquals(0x0082, frame.getHeaderBlockFragment()[0] & 0x00FF);
}