@Test
public void pingNotEnoughData() {

    Http2Frame frame = TestMessages.PING_NO_ENOUGH_DATA_FRAME;
    assertArrayEquals(TestMessages.PING_NO_ENOUGH_DATA_BUFFER, toByteArray(encoder.encode(frame, null)));
}