@Override
    protected void write(final PostgreSQLPacketPayload payload) {
        payload.writeInt1(STATUS_CODE);
    }
@Test
    void assertReadWrite() {
        ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(1);
        PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
        PostgreSQLSSLUnwillingPacket packet = new PostgreSQLSSLUnwillingPacket();
        packet.write(payload);
        assertThat(byteBuf.writerIndex(), is(1));
        assertThat(payload.readInt1(), is((int) 'N'));
    }