### Question:
TableMapEvent { public void parsePostHeader(final ByteBuf in) { tableId = DataTypesCodec.readUnsignedInt6LE(in); flags = DataTypesCodec.readUnsignedInt2LE(in); }  void parsePostHeader(final ByteBuf in); void parsePayload(final ByteBuf in);  }### Answer:
@Test public void assertParsePostHeader() { ByteBuf headerBuffer = Unpooled.buffer(8); headerBuffer.writeBytes(new byte[] {0x01, 0x02, 0x03, 0x04, 0x05, 0x06}); headerBuffer.writeShortLE(0); TableMapEvent actual = new TableMapEvent(); actual.parsePostHeader(headerBuffer); assertThat(actual.getTableId(), is(0x0000060504030201L)); assertThat(actual.getFlags(), is(0)); }