@Test
public void writeFrameZeroPayload() throws Exception {

    frameWriter.writeFrame(ctx, (byte) 0xf, 0, new Http2Flags(), Unpooled.EMPTY_BUFFER, promise);
    byte[] expectedFrameBytes = {
            (byte) 0x00, (byte) 0x00, (byte) 0x00, // payload length
            (byte) 0x0f, // payload type
            (byte) 0x00, // flags
            (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 // stream id
    };
    expectedOutbound = Unpooled.wrappedBuffer(expectedFrameBytes);
    assertEquals(expectedOutbound, outbound);
}