@Test
  public void test() {
    deserializedMessage = BufferHelper.deserialize(factory, bb);
    BufferHelper.checkHeaderV13(deserializedMessage);

    Assert.assertEquals("Wrong type", MultipartType.forValue(6), deserializedMessage.getType());
    Assert.assertEquals(
        "Wrong flags", new MultipartRequestFlags(true), deserializedMessage.getFlags());
    Assert.assertEquals(
        "Wrong aggregate", createRequestGroup(), deserializedMessage.getMultipartRequestBody());
  }
  @Test
  public void test() {
    ByteBuf bb = BufferHelper.buildBuffer("00 05 00 01 00 00 00 00 00 00 08 d0 00 00 08 a3");
    MultipartRequestInput deserializedMessage = BufferHelper.deserialize(factory, bb);
    BufferHelper.checkHeaderV13(deserializedMessage);

    Assert.assertEquals("Wrong type", MultipartType.forValue(5), deserializedMessage.getType());
    Assert.assertEquals(
        "Wrong flags", new MultipartRequestFlags(true), deserializedMessage.getFlags());
    Assert.assertEquals(
        "Wrong aggregate", createRequestQueue(), deserializedMessage.getMultipartRequestBody());
  }