@Override
    protected void write(final PostgreSQLPacketPayload payload) {
        payload.getByteBuf().writeBytes(PREFIX);
        payload.getByteBuf().writeByte(status);
    }
@Test
    void assertReadWriteWithInTransaction() {
        ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(6);
        PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
        PostgreSQLReadyForQueryPacket packet = PostgreSQLReadyForQueryPacket.IN_TRANSACTION;
        packet.write(payload);
        assertThat(byteBuf.writerIndex(), is(6));
        assertThat(byteBuf.getByte(5), is((byte) 'T'));
    }