@Override
    public void write(final PostgreSQLPacketPayload payload, final Object value) {
        payload.getByteBuf().writeDouble(Double.parseDouble(value.toString()));
    }
@Test
    void assertWrite() {
        new PostgreSQLDoubleBinaryProtocolValue().write(new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8), 1D);
        verify(byteBuf).writeDouble(1.0D);
    }