@Override
    public void write(final PostgreSQLPacketPayload payload, final Object value) {
        payload.getByteBuf().writeFloat(Float.parseFloat(value.toString()));
    }
@Test
    void assertWrite() {
        new PostgreSQLFloatBinaryProtocolValue().write(new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8), 1F);
        verify(byteBuf).writeFloat(1.0F);
    }